13#if TOML_DOXYGEN || (defined(__cpp_char8_t) && __cpp_char8_t >= 201811 && \
14 defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201907)
15#define TOML_HAS_CHAR8 1
17#define TOML_HAS_CHAR8 0
24using namespace std::string_literals;
25using namespace std::string_view_literals;
28#if TOML_ENABLE_WINDOWS_COMPAT
33 std::string
narrow(std::wstring_view);
37 std::wstring
widen(std::string_view);
43 std::wstring
widen(std::u8string_view);
const char * widen(char *dst, const char *src)
const char * narrow(char *dst, const char *src)
#define TOML_EXPORTED_FREE_FUNCTION
An 'export' annotation to add to free functions. \detail Not defined by default.
The root namespace for all toml++ functions and types.
#define TOML_IMPL_NAMESPACE_END
#define TOML_IMPL_NAMESPACE_START