string_literal

Description

Helper object which creates a templated string from the provided string literal. It guarantees compile time uniqueness and thus allows using strings in template parameters.

Vars

std::array< CharT, N >

data

{}

Methods

constexpr

string_literal ( const CharT(&) )

std::string_view

view ( )

bool

operator== ( const string_literal < CharT, N > & )

bool

operator== ( const string_literal < CharTR, NR > & )

string_literal < CharT, N+NR-1 >

operator+ ( const string_literal < CharT, NR > & )


Vars Description

std::array< CharT, N > data


Methods Description

constexpr string_literal ( const CharT(&) )


std::string_view view ( )


bool operator== ( const string_literal < CharT, N > & )


bool operator== ( const string_literal < CharTR, NR > & )


string_literal < CharT, N+NR-1 > operator+ ( const string_literal < CharT, NR > & )