scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scn::basic_default_locale_ref< CharT > Class Template Reference

#include <locale.h>

Public Types

using char_type = CharT
 
using string_type = std::basic_string< char_type >
 
using string_view_type = basic_string_view< char_type >
 
using defaults = detail::locale_defaults< char_type >
 

Public Member Functions

constexpr basic_default_locale_ref ()=default
 
constexpr bool is_space (char_type ch) const
 
constexpr bool is_digit (char_type ch) const
 
constexpr char_type decimal_point () const
 
constexpr char_type thousands_separator () const
 
constexpr string_view_type truename () const
 
constexpr string_view_type falsename () const
 
CharT widen (char ch) const
 
char narrow (CharT ch, char def) const
 
template<typename T >
expected< std::ptrdiff_t > read_num (T &, const string_type &)
 

Detailed Description

template<typename CharT>
class scn::basic_default_locale_ref< CharT >

Definition at line 208 of file locale.h.

Member Typedef Documentation

template<typename CharT >
using scn::basic_default_locale_ref< CharT >::char_type = CharT

Definition at line 210 of file locale.h.

template<typename CharT >
using scn::basic_default_locale_ref< CharT >::defaults = detail::locale_defaults<char_type>

Definition at line 213 of file locale.h.

template<typename CharT >
using scn::basic_default_locale_ref< CharT >::string_type = std::basic_string<char_type>

Definition at line 211 of file locale.h.

template<typename CharT >
using scn::basic_default_locale_ref< CharT >::string_view_type = basic_string_view<char_type>

Definition at line 212 of file locale.h.

Constructor & Destructor Documentation

template<typename CharT >
constexpr scn::basic_default_locale_ref< CharT >::basic_default_locale_ref ( )
default

Member Function Documentation

template<typename CharT >
constexpr char_type scn::basic_default_locale_ref< CharT >::decimal_point ( ) const
inline

Definition at line 226 of file locale.h.

template<typename CharT >
constexpr string_view_type scn::basic_default_locale_ref< CharT >::falsename ( ) const
inline

Definition at line 239 of file locale.h.

template<typename CharT >
constexpr bool scn::basic_default_locale_ref< CharT >::is_digit ( char_type  ch) const
inline

Definition at line 221 of file locale.h.

template<typename CharT >
constexpr bool scn::basic_default_locale_ref< CharT >::is_space ( char_type  ch) const
inline

Definition at line 217 of file locale.h.

template<typename CharT >
char scn::basic_default_locale_ref< CharT >::narrow ( CharT  ch,
char  def 
) const
inline

Definition at line 248 of file locale.h.

template<typename CharT >
template<typename T >
expected<std::ptrdiff_t> scn::basic_default_locale_ref< CharT >::read_num ( T &  ,
const string_type  
)
inline

Definition at line 254 of file locale.h.

template<typename CharT >
constexpr char_type scn::basic_default_locale_ref< CharT >::thousands_separator ( ) const
inline

Definition at line 230 of file locale.h.

template<typename CharT >
constexpr string_view_type scn::basic_default_locale_ref< CharT >::truename ( ) const
inline

Definition at line 235 of file locale.h.

template<typename CharT >
CharT scn::basic_default_locale_ref< CharT >::widen ( char  ch) const
inline

Definition at line 244 of file locale.h.


The documentation for this class was generated from the following file: