jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Static Public Member Functions | List of all members
jau::type_cue< T > Struct Template Reference

Helper, allowing simple access to compile time typename and Type traits information, see jau::type_name_cue to setup typename's string representation. More...

#include <type_traits_queries.hpp>

Inheritance diagram for jau::type_cue< T >:
Collaboration diagram for jau::type_cue< T >:

Static Public Member Functions

static void print (const std::string &typedefname, const TypeTraitGroup verbosity=TypeTraitGroup::NONE)
 Print information of this type to stdout, potentially with all Type traits known. More...
 
- Static Public Member Functions inherited from jau::type_name_cue< T >
static const char * name ()
 Return the string representation of this type. More...
 

Detailed Description

template<typename T>
struct jau::type_cue< T >

Helper, allowing simple access to compile time typename and Type traits information, see jau::type_name_cue to setup typename's string representation.

Template Parameters
Tthe typename to introspect
See also
jau::type_name_cue
Examples
test_functional.hpp.

Definition at line 132 of file type_traits_queries.hpp.

Member Function Documentation

◆ print()

template<typename T >
static void jau::type_cue< T >::print ( const std::string &  typedefname,
const TypeTraitGroup  verbosity = TypeTraitGroup::NONE 
)
inlinestatic

Print information of this type to stdout, potentially with all Type traits known.

Parameters
typedefnamethe code typedefname (or typename) as a string, should match T
verboseif true, prints all Type traits known for this type. Be aware of the long output. Defaults to false.
Examples
test_cow_iterator_01.cpp, and test_functional.hpp.

Definition at line 140 of file type_traits_queries.hpp.

Here is the caller graph for this function:

The documentation for this struct was generated from the following file: