cppx-core
assert-utf8-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 // This header is conditionally included from the top level "all.hpp" header. To avoid
4 // that, to use a non-UTF-8 execution character set, you can either just not use
5 // `_all_.hpp_`, or define `CPPX_NO_CHARSET_ASSERTION_PLEASE` before including it.
6 
7 #include <cppx-core/config.hpp> // cppx::check_the_basic_execution_character_set
9 
10 static_assert(
13  "The execution character set must be UTF-8 (e.g. MSVC option \"/utf-8\")."
14  );
constexpr Truth check_the_execution_character_set
Definition: config.hpp:9
constexpr auto is_the_execution_character_set() -> Truth