scnlib  0.1.2
FormattedinputformodernC++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
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 iterator = typename string_view_type::iterator
 
using defaults = detail::locale_defaults< char_type >
 

Public Member Functions

SCN_CONSTEXPR basic_default_locale_ref ()=default
 
SCN_CONSTEXPR bool is_space (char_type ch) const
 
SCN_CONSTEXPR bool is_digit (char_type ch) const
 
SCN_CONSTEXPR char_type decimal_point () const
 
SCN_CONSTEXPR char_type thousands_separator () const
 
SCN_CONSTEXPR string_view_type truename () const
 
SCN_CONSTEXPR string_view_type falsename () const
 
CharT widen (char ch) const
 
char narrow (CharT ch, char def) const
 
template<typename T >
expected< size_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 214 of file locale.h.

template<typename CharT >
using scn::basic_default_locale_ref< CharT >::iterator = typename string_view_type::iterator

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 >
SCN_CONSTEXPR scn::basic_default_locale_ref< CharT >::basic_default_locale_ref ( )
default

Member Function Documentation

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

Definition at line 227 of file locale.h.

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

Definition at line 240 of file locale.h.

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

Definition at line 222 of file locale.h.

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

Definition at line 218 of file locale.h.

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

Definition at line 249 of file locale.h.

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

Definition at line 255 of file locale.h.

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

Definition at line 231 of file locale.h.

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

Definition at line 236 of file locale.h.

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

Definition at line 245 of file locale.h.


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