Mirror reflection library 0.5.13
|
Classes | |
struct | mirror::cts::basic_string< Char, C > |
A compile-time basic-string template for various characted types. More... | |
struct | mirror::cts::string< C > |
A specialization of the basic compile-time string using char type. More... | |
struct | mirror::cts::char_type< CTString > |
Meta-function returning the character type of a compile-time string. More... | |
struct | mirror::cts::empty< CTString > |
Meta-function returning true_type if a compile-time string is empty. More... | |
struct | mirror::cts::nonempty< CTString > |
Meta-function returning true_type if a compile-time string is not empty. More... | |
struct | mirror::cts::size< CTString > |
Meta-function returning the length of a compile-time string. More... | |
struct | mirror::cts::length< CTString > |
Meta-function returning the length of a compile-time string. More... | |
struct | mirror::cts::equal< CTString1, CTString2 > |
Equality comparison meta-function for compile-time strings. More... | |
struct | mirror::cts::nonequal< CTString1, CTString2 > |
Non-equality comparison meta-function for compile-time strings. More... | |
struct | mirror::cts::front< CTString > |
Meta-function returning the first character in the compile-time string. More... | |
struct | mirror::cts::step_front< CTString > |
Meta-function returning a compile-string without the first character. More... | |
struct | mirror::cts::concat< CTStrings > |
Meta-function concatenating several compile-time strings together. More... | |
struct | mirror::cts::head< CTString, Length > |
Meta-function returning a string containing the first N characters. More... | |
struct | mirror::cts::tail< CTString, Length > |
Meta-function returning a string containing the last N characters. More... | |
struct | mirror::cts::find< CTString1, CTString2 > |
Meta-function returning a string starting with the searched sub-string. More... | |
struct | mirror::cts::slice< CTString, Start, Length > |
Meta-function returning a sub-string of a compile-time string. More... | |
struct | mirror::cts::skip_front< CTString, Length > |
Meta-function returning a sub-string without the first N characters. More... | |
struct | mirror::cts::at< CTString, Position > |
Meta-function returning the character at the N-th position. More... | |
struct | mirror::cts::starts_with< CTString1, CTString2 > |
Meta-function returns true_type if the string starts with another string. More... | |
struct | mirror::cts::ends_with< CTString1, CTString2 > |
Meta-function returns true_type if the string ends with another string. More... | |
struct | mirror::cts::contains< CTString1, CTString2 > |
Meta-function returns true_type if the string contains another string. More... | |
struct | mirror::cts::lacks< CTString1, CTString2 > |
Meta-function returns true_type if the string does not contain another string. More... | |
struct | mirror::cts::evaluate< CTString > |
Meta-function evaluates a compile-time string expression. More... | |
Functions | |
template<typename CTString > | |
auto | mirror::cts::c_str (void)-> decltype(aux |
A function returning a C-null-terminated-string for a CT string. |
Mirror optionally provides the identifier names also as compile-time strings which can be used in compile-time meta-programs.
auto mirror::cts::c_str | ( | void | ) |
A function returning a C-null-terminated-string for a CT string.
This function returns a null-terminated C-string for the compile-time string, passed as the CTString template parameter.