Scippy

SoPlex

Sequential object-oriented simPlex

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

Go to the source code of this file.

Namespaces

 internal
 

Functions

template<typename Char >
buffer_context< Char >::iterator vformat_to (const std::locale &loc, buffer< Char > &buf, basic_string_view< Char > format_str, basic_format_args< buffer_context< Char >> args)
 
template<typename Char >
std::basic_string< Char > vformat (const std::locale &loc, basic_string_view< Char > format_str, basic_format_args< buffer_context< 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< 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 = enable_if_t< internal::is_output_iterator<OutputIt>::value, char_t<S>>>
OutputIt vformat_to (OutputIt out, const std::locale &loc, const S &format_str, format_args_t< OutputIt, Char > args)
 
template<typename OutputIt , typename S , typename... Args, FMT_ENABLE_IF(internal::is_output_iterator< OutputIt >::value && internal::is_string< S >::value) >
OutputIt format_to (OutputIt out, const std::locale &loc, const S &format_str, Args &&... args)
 

Function Documentation

◆ format()

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

◆ format_to()

OutputIt format_to ( OutputIt  out,
const std::locale &  loc,
const S &  format_str,
Args &&...  args 
)

◆ vformat()

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

Definition at line 38 of file locale.h.

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

◆ vformat_to()

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

Definition at line 55 of file locale.h.

References FMT_ENABLE_IF, and internal::to_string_view().