chsvlib
chsv helper source code
u8_array_from_ucp< ucp > Struct Template Reference

A class template which for a given Unicode code point statically defines a constant array holding the corresponding UTF-8 code. More...

#include <chsvstringex.h>

Inheritance diagram for u8_array_from_ucp< ucp >:
Collaboration diagram for u8_array_from_ucp< ucp >:

Static Public Attributes

static constexpr const char u8 []
 An array of size and values corresponding to the parameter ucp of the class template. More...
 

Detailed Description

template<ucp_t ucp>
struct Chusov::String::u8_array_from_ucp< ucp >

A class template which for a given Unicode code point statically defines a constant array holding the corresponding UTF-8 code.

Template Parameters
ucpis a Unicode 11.0 code point for which the corresponding UTF-8 code is to be defined by the class template.

If the code point ucp is invalid the implementation will not define the array, meaning that the class is SFINAE friendly with respect to correctness of ucp.


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