MRPT  2.0.0
Namespaces | Classes | Functions
mrpt::typemeta Namespace Reference

Namespaces

 detail
 
 internal
 

Classes

class  array_string
 
struct  num_to_string
 constexpr string representation of a number. More...
 
class  string_literal
 
struct  TEnumType
 A helper class that can convert an enum value into its textual representation, and viceversa. More...
 
struct  TEnumTypeFiller
 Only specializations of this class are defined for each enum type of interest. More...
 
struct  TTypeName
 A template to obtain the type of its argument as a string at compile time. More...
 
struct  TTypeName< mrpt::math::CMatrixDynamic< T > >
 
struct  TTypeName< mrpt::math::CMatrixFixed< T, N, M > >
 
struct  TTypeName< mrpt::math::CVectorDynamic< T > >
 
struct  TTypeName< mrpt::math::CVectorFixed< T, N > >
 
struct  TTypeName< mrpt::math::CVectorFixedDouble< N > >
 
struct  TTypeName< mrpt::math::CVectorFixedFloat< N > >
 
struct  TTypeName< std::chrono::time_point< T > >
 
struct  TTypeName< std::pair< T1, T2 > >
 
struct  TTypeName< std::shared_ptr< T > >
 Specialization for shared_ptr<T> More...
 

Functions

template<int N_PLUS_1>
constexpr auto literal (const char(&lit)[N_PLUS_1]) -> string_literal< N_PLUS_1 - 1 >
 
template<int N1, int N2>
constexpr auto operator+ (const string_literal< N1 > &s1, const string_literal< N2 > &s2) -> array_string< N1+N2 >
 
template<int N1, int N2>
constexpr auto operator+ (const array_string< N1 > &s1, const string_literal< N2 > &s2) -> array_string< N1+N2 >
 
template<int N1, int N2>
constexpr auto operator+ (const array_string< N1 > &s1, const array_string< N2 > &s2) -> array_string< N1+N2 >
 

Function Documentation

◆ literal()

template<int N_PLUS_1>
constexpr auto mrpt::typemeta::literal ( const char(&)  lit[N_PLUS_1]) -> string_literal<N_PLUS_1 - 1>

◆ operator+() [1/3]

template<int N1, int N2>
constexpr auto mrpt::typemeta::operator+ ( const string_literal< N1 > &  s1,
const string_literal< N2 > &  s2 
) -> array_string<N1 + N2>

Definition at line 146 of file static_string.h.

◆ operator+() [2/3]

template<int N1, int N2>
constexpr auto mrpt::typemeta::operator+ ( const array_string< N1 > &  s1,
const string_literal< N2 > &  s2 
) -> array_string<N1 + N2>

Definition at line 154 of file static_string.h.

◆ operator+() [3/3]

template<int N1, int N2>
constexpr auto mrpt::typemeta::operator+ ( const array_string< N1 > &  s1,
const array_string< N2 > &  s2 
) -> array_string<N1 + N2>

Definition at line 162 of file static_string.h.




Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020