cppx-core
utf8-is_the_execution_character_set.hpp
Go to the documentation of this file.
1 #pragma once // Source encoding: UTF-8 with BOM (π is a lowercase Greek "pi").
2 
3 #include <cppx-core/language/types/Truth.hpp> // cppx::Truth
4 
5 namespace cppx::utf8
6 {
8  -> Truth
9  {
10  constexpr auto& slashed_o = "ø";
11  return (sizeof( slashed_o ) == 3 and slashed_o[0] == '\xC3' and slashed_o[1] == '\xB8');
12  }
13 } // namespace cppx::utf8
A drop-in replacement for bool without implicit conversion from/to types other than bool.
Definition: Truth.hpp:34
Truth is a drop-in replacement for bool without implicit conversion from/to types other than bool.
constexpr auto is_the_execution_character_set() -> Truth