1 #ifndef OOKII_VALUE_DESCRIPTION_H_
4 #define OOKII_VALUE_DESCRIPTION_H_
28 template<
typename T,
typename CharType =
char,
typename Traits = std::
char_traits<
char>,
typename Alloc = std::allocator<
char>>
32 static std::basic_string<CharType, Traits, Alloc>
get()
34 return get_short_type_name<T, CharType, Traits, Alloc>();
49 template<
typename CharType,
typename Traits,
typename Alloc,
typename CharType2,
typename Traits2,
typename Alloc2>
50 struct value_description<std::basic_string<CharType2, Traits2, Alloc2>, CharType, Traits, Alloc>
53 static std::basic_string<CharType, Traits, Alloc>
get()
55 constexpr
auto result = literal_cast<CharType>(
"string");
56 return {result.data()};
68 template<
typename T,
typename CharType,
typename Traits,
typename Alloc>
72 static std::basic_string<CharType, Traits, Alloc>
get()
Namespace containing the core Ookii.CommandLine.Cpp types.
Definition: command_line_argument.h:16
static std::basic_string< CharType, Traits, Alloc > get()
Gets the value description for the type.
Definition: value_description.h:53
static std::basic_string< CharType, Traits, Alloc > get()
Gets the value description for the type.
Definition: value_description.h:72
Template used to specify the default value description for a type.
Definition: value_description.h:30
static std::basic_string< CharType, Traits, Alloc > get()
Gets the value description for the type.
Definition: value_description.h:32
Provides helpers to obtain the name of a type.