lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Static Public Member Functions
lean::strings::nullterminated_compatible< Compatible, Char, Traits > Struct Template Reference

Spezialize this class to make your string class compatible with the nullterminated character range class. More...

#include <nullterminated.h>

Inheritance diagram for lean::strings::nullterminated_compatible< Compatible, Char, Traits >:
lean::strings::nullterminated_incompatible

List of all members.

Static Public Member Functions

static const Char * from (const Compatible &from)
 Converts an object of your type into a nullterminated character range, returning the beginning of the range.
static const Char * from (const Compatible &from, const Char *begin)
 Converts an object of your type into a nullterminated character range, returning the end of the range (must be null character), nullptr if unknown.
static Compatible to (const Char *begin)
 Converts a nullterminated character range into an object of your type.
static Compatible to (const Char *begin, const Char *end)
 Converts a nullterminated character range into an object of your type.

Detailed Description

template<class Compatible, class Char, class Traits>
struct lean::strings::nullterminated_compatible< Compatible, Char, Traits >

Spezialize this class to make your string class compatible with the nullterminated character range class.


The documentation for this struct was generated from the following file: