4#include "Stroika/Foundation/StroikaPreComp.h"
7#include "Stroika/Foundation/Execution/Exceptions.h"
15static_assert (regular<Character>);
22void Characters::Private_::ThrowSurrogatesOutOfRange_ ()
25 Execution::Throw (kException_);
33void Characters::Private_::ThrowNotIsASCII_ ()
36 Execution::Throw (kException_);
44void Characters::Private_::ThrowNotIsLatin1_ ()
47 Execution::Throw (kException_);
#define RequireNotNull(p)
constexpr char32_t GetCharacterCode() const noexcept
Return the char32_t UNICODE code-point associated with this character.
static const UTFConvert kThe
Nearly always use this default UTFConvert.
nonvirtual span< TRG_T > ConvertSpan(span< const SRC_T > source, span< TRG_T > target) const
Convert between UTF-N encoded (including the special case of ASCII, and Latin1) character spans (e....
Logically halfway between std::array and std::vector; Smart 'direct memory array' - which when needed...
nonvirtual void ShrinkTo(size_t nElements)
nonvirtual void resize_uninitialized(size_t nElements)
same as resize (), except leaves newly created elements uninitialized (requires is_trivially_copyable...