一呼百應, "one call, a hundred responses"
Loading...
Searching...
No Matches
Types

Files

file  types.hpp
 

Namespaces

namespace  ein
 

Concepts

concept  ein::one_of_t
 type T is one of the candidates
 
concept  ein::not_one_of_t
 type T is not one of the candidates
 

Functions

const string_view ein::type_of (auto const &t) noexcept
 returns the unmangled name of a the type of the (unused) argument passed to this function
 

Variables

template<typename T >
const string_view ein::type
 returns the unmangled name of a the type T
 

Detailed Description

Function Documentation

◆ type_of()

const string_view ein::type_of ( auto const & t)
noexcept[[nodiscard]][[const]]

returns the unmangled name of a the type of the (unused) argument passed to this function

Definition at line 42 of file types.hpp.

References ein::type.

Variable Documentation

◆ type

template<typename T >
const string_view ein::type

returns the unmangled name of a the type T

Ideally this would be fully constexpr, but I'm not building my own demangler.

Definition at line 30 of file types.hpp.

Referenced by ein::type_of().