![]() |
tinyutf8 4.0.2
Unicode (UTF-8) capable std::string
|
#include <memory>
#include <cstring>
#include <string>
#include <limits>
#include <functional>
#include <algorithm>
#include <type_traits>
#include <cstddef>
#include <cstdint>
#include <initializer_list>
#include <iosfwd>
Go to the source code of this file.
Namespaces | |
namespace | tiny_utf8 |
Want global declarations? | |
namespace | tiny_utf8::tiny_utf8_detail |
Implementation Detail. | |
namespace | std |
STL namespace. | |
Macros | |
#define | TINY_UTF8_THROW(...) void() |
Determine the mode of error handling. | |
#define | TINY_UTF8_CPLUSPLUS __cplusplus |
Determine portable __cplusplus macro. | |
#define | TINY_UTF8_FALLTHROUGH /* fall through */ |
Determine the way to inform about fallthrough behavior. | |
#define | TINY_UTF8_CPP17(...) |
Remove Warnings, since it is wrong for all cases in this file. | |
#define | TINY_UTF8_NOEXCEPT true |
Determine noexcept specifications. | |
#define | TINY_UTF8_HAS_CLZ false |
Count leading zeros utility. | |
Typedefs | |
using | tiny_utf8::string = basic_string<char32_t, char> |
Typedef of string (data type: char) | |
using | tiny_utf8::utf8_string = basic_string<char32_t, char> |
using | tiny_utf8::u8string = utf8_string |
Typedef of u8string (data type char8_t) | |
#define TINY_UTF8_CPLUSPLUS __cplusplus |
Determine portable __cplusplus macro.
#define TINY_UTF8_CPP17 | ( | ... | ) |
Remove Warnings, since it is wrong for all cases in this file.
Create macro that yields its arguments, if C++17 or later is present (used for "if constexpr")
#define TINY_UTF8_FALLTHROUGH /* fall through */ |
Determine the way to inform about fallthrough behavior.
#define TINY_UTF8_HAS_CLZ false |
Count leading zeros utility.
#define TINY_UTF8_NOEXCEPT true |
Determine noexcept specifications.
#define TINY_UTF8_THROW | ( | ... | ) | void() |
Determine the mode of error handling.
Copyright (c) 2015-2021 Jakob Riedle (DuffsDevice) All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
noexcept |
Stream Operations.
|
noexcept |