Rosetta
|
Namespaces | |
detail | |
Macros | |
#define | FMT_RANGE_OUTPUT_LENGTH_LIMIT 256 |
Typedefs | |
template<size_t... N> | |
using | detail::index_sequence = integer_sequence< size_t, N... > |
template<size_t N> | |
using | detail::make_index_sequence = make_integer_sequence< size_t, N > |
template<typename Range > | |
using | detail::value_type = remove_cvref_t< decltype(*std::declval< Range >().begin())> |
Functions | |
template<typename RangeT , typename OutputIterator > | |
OutputIterator | detail::copy (const RangeT &range, OutputIterator out) |
template<typename OutputIterator > | |
OutputIterator | detail::copy (const char *str, OutputIterator out) |
template<typename OutputIterator > | |
OutputIterator | detail::copy (char ch, OutputIterator out) |
template<class Tuple , class F , size_t... Is> | |
void | detail::for_each (index_sequence< Is... >, Tuple &&tup, F &&f) FMT_NOEXCEPT |
template<class T > | |
FMT_CONSTEXPR make_index_sequence< std::tuple_size< T >::value > | detail::get_indexes (T const &) |
template<class Tuple , class F > | |
void | detail::for_each (Tuple &&tup, F &&f) |
template<typename Arg , FMT_ENABLE_IF(!is_like_std_string< typename std::decay< Arg >::type >::value) > | |
FMT_CONSTEXPR const char * | detail::format_str_quoted (bool add_space, const Arg &) |
FMT_CONSTEXPR const char * | detail::format_str_quoted (bool add_space, const char *) |
FMT_CONSTEXPR const wchar_t * | detail::format_str_quoted (bool add_space, const wchar_t *) |
FMT_CONSTEXPR const char * | detail::format_str_quoted (bool add_space, const char) |
FMT_CONSTEXPR const wchar_t * | detail::format_str_quoted (bool add_space, const wchar_t) |
template<typename... T> | |
FMT_CONSTEXPR tuple_arg_join< char, T... > | join (const std::tuple< T... > &tuple, string_view sep) |
template<typename... T> | |
FMT_CONSTEXPR tuple_arg_join< wchar_t, T... > | join (const std::tuple< T... > &tuple, wstring_view sep) |
template<typename T > | |
arg_join< const T *, const T *, char > | join (std::initializer_list< T > list, string_view sep) |
template<typename T > | |
arg_join< const T *, const T *, wchar_t > | join (std::initializer_list< T > list, wstring_view sep) |
#define FMT_RANGE_OUTPUT_LENGTH_LIMIT 256 |
FMT_CONSTEXPR tuple_arg_join<char, T...> join | ( | const std::tuple< T... > & | tuple, |
string_view | sep | ||
) |
\rst Returns an object that formats tuple
with elements separated by sep
.
Example**::
std::tuple<int, char> t = {1, 'a'}; fmt::print("{}", fmt::join(t, ", ")); Output: "1, a" \endrst
References basic::options::OptionKeys::sc::sep.
Referenced by join().
FMT_CONSTEXPR tuple_arg_join<wchar_t, T...> join | ( | const std::tuple< T... > & | tuple, |
wstring_view | sep | ||
) |
References basic::options::OptionKeys::sc::sep.
arg_join<const T*, const T*, char> join | ( | std::initializer_list< T > | list, |
string_view | sep | ||
) |
\rst Returns an object that formats initializer_list
with elements separated by sep
.
Example**::
fmt::print("{}", fmt::join({1, 2, 3}, ", ")); Output: "1, 2, 3" \endrst
References begin, end, join(), basic::options::OptionKeys::in::file::list, and basic::options::OptionKeys::sc::sep.
arg_join<const T*, const T*, wchar_t> join | ( | std::initializer_list< T > | list, |
wstring_view | sep | ||
) |
References begin, end, join(), basic::options::OptionKeys::in::file::list, and basic::options::OptionKeys::sc::sep.