WPILibC++ 2023.4.3
Demangle.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#ifndef WPIUTIL_WPI_DEMANGLE_H_
6#define WPIUTIL_WPI_DEMANGLE_H_
7
8#include <string>
9#include <string_view>
10
11namespace wpi {
12
13/**
14 * Demangle a C++ symbol.
15 *
16 * @param mangledSymbol the mangled symbol.
17 * @return The demangled symbol, or mangledSymbol if demangling fails.
18 */
19std::string Demangle(std::string_view mangledSymbol);
20
21} // namespace wpi
22
23#endif // WPIUTIL_WPI_DEMANGLE_H_
basic_string_view< char > string_view
Definition: core.h:520
/file This file defines the SmallVector class.
Definition: AprilTagFieldLayout.h:18
std::string Demangle(std::string_view mangledSymbol)
Demangle a C++ symbol.