Agora  1.2.0
Agora project
xchar.h File Reference
#include <cwchar>
#include <tuple>
#include "format.h"
Include dependency graph for xchar.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fmt::v8::is_char< wchar_t >
 
struct  fmt::v8::is_char< detail::char8_type >
 
struct  fmt::v8::is_char< char16_t >
 
struct  fmt::v8::is_char< char32_t >
 

Namespaces

 fmt
 
 fmt::v8
 
 fmt::v8::detail
 
 fmt::v8::literals
 

Typedefs

template<typename T >
using fmt::v8::detail::is_exotic_char = bool_constant<!std::is_same< T, char >::value >
 
using fmt::v8::wstring_view = basic_string_view< wchar_t >
 
using fmt::v8::wformat_parse_context = basic_format_parse_context< wchar_t >
 
using fmt::v8::wformat_context = buffer_context< wchar_t >
 
using fmt::v8::wformat_args = basic_format_args< wformat_context >
 
using fmt::v8::wmemory_buffer = basic_memory_buffer< wchar_t >
 
template<typename... Args>
using fmt::v8::wformat_string = basic_format_string< wchar_t, type_identity_t< Args >... >
 

Functions

template<typename... Args>
constexpr format_arg_store< wformat_context, Args... > fmt::v8::make_wformat_args (const Args &... args)
 
constexpr auto fmt::v8::literals::operator""_format (const wchar_t *s, size_t n) -> detail::udl_formatter< wchar_t >
 
template<typename It , typename Sentinel >
auto fmt::v8::join (It begin, Sentinel end, wstring_view sep) -> join_view< It, Sentinel, wchar_t >
 
template<typename Range >
auto fmt::v8::join (Range &&range, wstring_view sep) -> join_view< detail::iterator_t< Range >, detail::sentinel_t< Range >, wchar_t >
 
template<typename T >
auto fmt::v8::join (std::initializer_list< T > list, wstring_view sep) -> join_view< const T *, const T *, wchar_t >
 
template<typename Char , enable_if_t<(!std::is_same< Char, char >::value), int > = 0>
auto fmt::v8::vformat (basic_string_view< Char > format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args) -> std::basic_string< Char >
 
template<typename S , typename... Args, typename Char = char_t<S>, enable_if_t<(!std::is_same< Char, char >::value), int > = 0>
auto fmt::v8::format (const S &format_str, Args &&... args) -> std::basic_string< Char >
 
template<typename Locale , typename S , typename Char = char_t<S>, enable_if_t<(detail::is_locale< Locale >::value &&detail::is_exotic_char< Char >::value), int > = 0>
auto fmt::v8::vformat (const Locale &loc, const S &format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args) -> std::basic_string< Char >
 
template<typename Locale , typename S , typename... Args, typename Char = char_t<S>, enable_if_t<(detail::is_locale< Locale >::value &&detail::is_exotic_char< Char >::value), int > = 0>
auto fmt::v8::format (const Locale &loc, const S &format_str, Args &&... args) -> std::basic_string< Char >
 
template<typename OutputIt , typename S , typename Char = char_t<S>, enable_if_t<(detail::is_output_iterator< OutputIt, Char >::value &&detail::is_exotic_char< Char >::value), int > = 0>
auto fmt::v8::vformat_to (OutputIt out, const S &format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args) -> OutputIt
 
template<typename OutputIt , typename S , typename... Args, typename Char = char_t<S>, enable_if_t<(detail::is_output_iterator< OutputIt, Char >::value &&detail::is_exotic_char< Char >::value), int > = 0>
auto fmt::v8::format_to (OutputIt out, const S &fmt, Args &&... args) -> OutputIt
 
template<typename S , typename... Args, typename Char , size_t SIZE, typename Allocator , enable_if_t<(detail::is_string< S >::value), int > = 0>
auto fmt::v8::format_to (basic_memory_buffer< Char, SIZE, Allocator > &buf, const S &format_str, Args &&... args) -> typename buffer_context< Char >::iterator
 
template<typename Locale , typename S , typename OutputIt , typename... Args, typename Char = char_t<S>, enable_if_t<(detail::is_output_iterator< OutputIt, Char >::value &&detail::is_locale< Locale >::value &&detail::is_exotic_char< Char >::value), int > = 0>
auto fmt::v8::vformat_to (OutputIt out, const Locale &loc, const S &format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args) -> OutputIt
 
template<typename OutputIt , typename Locale , typename S , typename... Args, typename Char = char_t<S>, bool enable = detail::is_output_iterator<OutputIt, Char>::value&& detail::is_locale<Locale>::value&& detail::is_exotic_char<Char>::value>
auto fmt::v8::format_to (OutputIt out, const Locale &loc, const S &format_str, Args &&... args) -> typename std::enable_if< enable, OutputIt >::type
 
template<typename OutputIt , typename Char , typename... Args, enable_if_t<(detail::is_output_iterator< OutputIt, Char >::value &&detail::is_exotic_char< Char >::value), int > = 0>
auto fmt::v8::vformat_to_n (OutputIt out, size_t n, basic_string_view< Char > format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args) -> format_to_n_result< OutputIt >
 
template<typename OutputIt , typename S , typename... Args, typename Char = char_t<S>, enable_if_t<(detail::is_output_iterator< OutputIt, Char >::value &&detail::is_exotic_char< Char >::value), int > = 0>
auto fmt::v8::format_to_n (OutputIt out, size_t n, const S &fmt, const Args &... args) -> format_to_n_result< OutputIt >
 
template<typename S , typename... Args, typename Char = char_t<S>, enable_if_t<(detail::is_exotic_char< Char >::value), int > = 0>
auto fmt::v8::formatted_size (const S &fmt, Args &&... args) -> size_t
 
void fmt::v8::vprint (std::FILE *f, wstring_view fmt, wformat_args args)
 
void fmt::v8::vprint (wstring_view fmt, wformat_args args)
 
template<typename... T>
void fmt::v8::print (std::FILE *f, wformat_string< T... > fmt, T &&... args)
 
template<typename... T>
void fmt::v8::print (wformat_string< T... > fmt, T &&... args)
 
template<typename T >
auto fmt::v8::to_wstring (const T &value) -> std::wstring