scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scn::detail::float_scanner< T > Struct Template Reference

#include <reader.h>

Public Member Functions

template<typename ParseCtx >
error parse (ParseCtx &pctx)
 
template<typename Context >
error scan (T &val, Context &ctx)
 
template<typename CharT >
expected< std::ptrdiff_t > _read_float (T &val, span< const CharT > s)
 
template<typename CharT >
expected< T > _read_float_impl (const CharT *str, size_t &chars)
 

Public Attributes

bool localized {false}
 

Detailed Description

template<typename T>
struct scn::detail::float_scanner< T >

Definition at line 1188 of file reader.h.

Member Function Documentation

template<typename T>
template<typename CharT >
expected<std::ptrdiff_t> scn::detail::float_scanner< T >::_read_float ( T &  val,
span< const CharT >  s 
)
inline

Definition at line 1309 of file reader.h.

template<typename T>
template<typename CharT >
expected<T> scn::detail::float_scanner< T >::_read_float_impl ( const CharT *  str,
size_t &  chars 
)
template<typename T>
template<typename ParseCtx >
error scn::detail::float_scanner< T >::parse ( ParseCtx &  pctx)
inline

Definition at line 1192 of file reader.h.

template<typename T>
template<typename Context >
error scn::detail::float_scanner< T >::scan ( T &  val,
Context &  ctx 
)
inline

Definition at line 1252 of file reader.h.

Member Data Documentation

template<typename T>
bool scn::detail::float_scanner< T >::localized {false}

Definition at line 1306 of file reader.h.


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