cppx-core
cppx-core
text
unicode
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
8
#include <
cppx-core/text/unicode/utf8-is_the_execution_character_set.hpp
>
9
10
static_assert(
11
not
cppx::check_the_execution_character_set
12
or
cppx::utf8::is_the_execution_character_set
(),
13
"The execution character set must be UTF-8 (e.g. MSVC option \"/utf-8\")."
14
);
config.hpp
cppx::check_the_execution_character_set
constexpr Truth check_the_execution_character_set
Definition:
config.hpp:9
utf8-is_the_execution_character_set.hpp
cppx::utf8::is_the_execution_character_set
constexpr auto is_the_execution_character_set() -> Truth
Definition:
utf8-is_the_execution_character_set.hpp:7
Generated by
1.8.15