WPILibC++ 2024.3.2
detail::digit_grouping< Char > Class Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/format.h>

Public Member Functions

 digit_grouping (locale_ref loc, bool localized=true)
 
 digit_grouping (std::string grouping, std::basic_string< Char > sep)
 
bool has_separator () const
 
int count_separators (int num_digits) const
 
template<typename Out , typename C >
Out apply (Out out, basic_string_view< C > digits) const
 

Constructor & Destructor Documentation

◆ digit_grouping() [1/2]

template<typename Char >
detail::digit_grouping< Char >::digit_grouping ( locale_ref  loc,
bool  localized = true 
)
inlineexplicit

◆ digit_grouping() [2/2]

template<typename Char >
detail::digit_grouping< Char >::digit_grouping ( std::string  grouping,
std::basic_string< Char >  sep 
)
inline

Member Function Documentation

◆ apply()

template<typename Char >
template<typename Out , typename C >
Out detail::digit_grouping< Char >::apply ( Out  out,
basic_string_view< C >  digits 
) const
inline

◆ count_separators()

template<typename Char >
int detail::digit_grouping< Char >::count_separators ( int  num_digits) const
inline

◆ has_separator()

template<typename Char >
bool detail::digit_grouping< Char >::has_separator ( ) const
inline

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