mimic++ v4
|
#include "mimic++/Fwd.hpp"
#include "mimic++/Utility.hpp"
#include <concepts>
#include <functional>
#include <ranges>
#include <string>
#include <string_view>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | mimicpp |
Concepts | |
concept | mimicpp::string |
Determines, whether the given type can be used as a string-type. | |
concept | mimicpp::case_foldable_string |
Determines, whether the given type supports string normalization. | |
Typedefs | |
template<typename T > | |
using | mimicpp::string_view_t = decltype(string_traits<std::remove_cvref_t<T>>::view(std::declval<T&>())) |
Computes the view type for the given string. | |
template<typename T > | |
using | mimicpp::string_char_t = typename string_traits<std::remove_cvref_t<T>>::char_t |
Computes the character type for the given string. | |
Variables | |
template<typename T > | |
constexpr bool | mimicpp::is_character_v {is_character<T>::value} |
Convenience boolean-constant to the result of is_character trait. | |
template<satisfies< is_character > Char> | |
constexpr StringViewT | mimicpp::string_literal_prefix {} |
Primary template, yielding an empty string. | |
template<> | |
constexpr StringViewT | mimicpp::string_literal_prefix< char > {} |
char specialization. | |
template<> | |
constexpr StringViewT | mimicpp::string_literal_prefix< wchar_t > {"L"} |
wchar_t specialization. | |
template<> | |
constexpr StringViewT | mimicpp::string_literal_prefix< char8_t > {"u8"} |
char8_t specialization. | |
template<> | |
constexpr StringViewT | mimicpp::string_literal_prefix< char16_t > {"u"} |
char16_t specialization. | |
template<> | |
constexpr StringViewT | mimicpp::string_literal_prefix< char32_t > {"U"} |
char32_t specialization. | |