Scippy

SoPlex

Sequential object-oriented simPlex

locale.h File Reference
#include <locale>
#include "format.h"

Go to the source code of this file.

Namespaces

 detail
 

Functions

template<typename Char >
std::basic_string< Char > vformat (const std::locale &loc, basic_string_view< Char > format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args)
 
template<typename S , typename Char = char_t<S>>
std::basic_string< Char > vformat (const std::locale &loc, const S &format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args)
 
template<typename S , typename... Args, typename Char = char_t<S>>
std::basic_string< Char > format (const std::locale &loc, const S &format_str, Args &&... args)
 
template<typename S , typename OutputIt , typename... Args, typename Char = char_t<S>, FMT_ENABLE_IF(detail::is_output_iterator< OutputIt, Char >::value) >
OutputIt vformat_to (OutputIt out, const std::locale &loc, const S &format_str, basic_format_args< buffer_context< type_identity_t< Char >>> args)
 
template<typename OutputIt , typename S , typename... Args, bool enable = detail::is_output_iterator<OutputIt, char_t<S>>::value>
auto format_to (OutputIt out, const std::locale &loc, const S &format_str, Args &&... args) -> typename std::enable_if< enable, OutputIt >::type
 

Function Documentation

◆ format()

std::basic_string<Char> format ( const std::locale &  loc,
const S &  format_str,
Args &&...  args 
)

Definition at line 36 of file locale.h.

References FMT_ENABLE_IF, detail::to_string_view(), and detail::vformat().

◆ format_to()

auto format_to ( OutputIt  out,
const std::locale &  loc,
const S &  format_str,
Args &&...  args 
) -> typename std::enable_if<enable, OutputIt>::type

◆ vformat()

std::basic_string<Char> vformat ( const std::locale &  loc,
const S &  format_str,
basic_format_args< buffer_context< type_identity_t< Char >>>  args 
)

Definition at line 29 of file locale.h.

References detail::to_string_view(), and detail::vformat().

◆ vformat_to()

OutputIt vformat_to ( OutputIt  out,
const std::locale &  loc,
const S &  format_str,
basic_format_args< buffer_context< type_identity_t< Char >>>  args 
)