Namespaces | Functions
type_utils.hpp File Reference

Utilities for working with C++ types. More...

#include <cstddef>
#include <string>
#include <type_traits>
#include "type_utils/literal_sz.h"
#include "type_utils/string_traits.hpp"
Include dependency graph for type_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cras
 

Functions

::std::string cras::cleanTypeName (const ::std::string &typeName)
 Remove not-so-nice parts of demangled C++ type names. More...
 
::std::string cras::demangle (const ::std::string &mangled)
 Demangle the given mangle C++ type identifier. More...
 
template<typename T >
inline ::std::string cras::getTypeName ()
 Get a human-readable name of T. More...
 
::std::string cras::getTypeName (const ::std::type_info &typeInfo)
 Get a human-readable name of a type represented by the given typeinfo. More...
 

Detailed Description

Utilities for working with C++ types.

Author
Martin Pecka SPDX-License-Identifier: BSD-3-Clause SPDX-FileCopyrightText: Czech Technical University in Prague

Definition in file type_utils.hpp.



cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sun Jan 14 2024 03:48:14