Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::RopeCharTraitsCompatible Concept Reference

True exactly for the character types std::char_traits is specialized for by the standard (char, wchar_t, char8_t, char16_t, char32_t), i.e. More...

#include <tpl_rope.H>

Concept definition

template<class T>
concept Aleph::RopeCharTraitsCompatible = std::is_same_v<T, char> or std::is_same_v<T, wchar_t> or
std::is_same_v<T, char8_t> or std::is_same_v<T, char16_t> or std::is_same_v<T, char32_t>
True exactly for the character types std::char_traits is specialized for by the standard (char,...
Definition tpl_rope.H:151

Detailed Description

True exactly for the character types std::char_traits is specialized for by the standard (char, wchar_t, char8_t, char16_t, char32_t), i.e.

the types std::basic_string<T> is meaningfully a "string" of. Used to gate Rope::to_string(): a typename std::char_traits<T> (or std::basic_string<T>) type-existence check is NOT sufficient here, since both templates' primary forms are valid type names for essentially any trivial T, not just actual character types.

Definition at line 151 of file tpl_rope.H.