Mirror reflection library 0.5.13

mirror::cts Namespace Reference

Contains the compile-time string-related code. More...

Classes

struct  basic_string
 A compile-time basic-string template for various characted types. More...
struct  string
 A specialization of the basic compile-time string using char type. More...
struct  char_type
 Meta-function returning the character type of a compile-time string. More...
struct  empty
 Meta-function returning true_type if a compile-time string is empty. More...
struct  nonempty
 Meta-function returning true_type if a compile-time string is not empty. More...
struct  size
 Meta-function returning the length of a compile-time string. More...
struct  length
 Meta-function returning the length of a compile-time string. More...
struct  equal
 Equality comparison meta-function for compile-time strings. More...
struct  nonequal
 Non-equality comparison meta-function for compile-time strings. More...
struct  front
 Meta-function returning the first character in the compile-time string. More...
struct  step_front
 Meta-function returning a compile-string without the first character. More...
struct  concat
 Meta-function concatenating several compile-time strings together. More...
struct  head
 Meta-function returning a string containing the first N characters. More...
struct  tail
 Meta-function returning a string containing the last N characters. More...
struct  find
 Meta-function returning a string starting with the searched sub-string. More...
struct  slice
 Meta-function returning a sub-string of a compile-time string. More...
struct  skip_front
 Meta-function returning a sub-string without the first N characters. More...
struct  at
 Meta-function returning the character at the N-th position. More...
struct  starts_with
 Meta-function returns true_type if the string starts with another string. More...
struct  ends_with
 Meta-function returns true_type if the string ends with another string. More...
struct  contains
 Meta-function returns true_type if the string contains another string. More...
struct  lacks
 Meta-function returns true_type if the string does not contain another string. More...
struct  evaluate
 Meta-function evaluates a compile-time string expression. More...

Functions

template<typename CTString >
auto c_str (void)-> decltype(aux
 A function returning a C-null-terminated-string for a CT string.

Detailed Description

Contains the compile-time string-related code.


Copyright © 2006-2011 Matus Chochlik, University of Zilina, Zilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Fri Dec 16 2011 by Doxygen (version 1.7.3).
Important note: Although the 'boostified' version of Mirror uses the Boost C++ libraries Coding Guidelines and is implemented inside of the boost namespace, it IS NOT an officially reviewed and accepted Boost library. Mirror is being developed with the intention to be submitted for review for inclusion to the Boost C++ libraries.