scnlib  0.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Type-erased scanning operations

These functions are called by scan and alike. More...

Macros

#define SCN_VSCAN_DECLARE(Range)
 

Functions

template<typename Context , typename ParseCtx >
scan_result_for_t< Context > scn::vscan (Context &ctx, ParseCtx &pctx, basic_args< Context > args)
 

Detailed Description

These functions are called by scan and alike.

The passed arguments are type-erased and passed in the context to avoid generated code size blowup.

Macro Definition Documentation

#define SCN_VSCAN_DECLARE (   Range)
Value:
scan_result_for_t<basic_context<detail::range_wrapper_for_t<Range>, \
basic_default_locale_ref<char>>> \
vscan(basic_context<detail::range_wrapper_for_t<Range>, \
basic_default_locale_ref<char>>&, \
basic_parse_context<basic_default_locale_ref<char>>&, \
basic_args<basic_context<detail::range_wrapper_for_t<Range>, \
basic_default_locale_ref<char>>>); \
\
scan_result_for_t<basic_context<detail::range_wrapper_for_t<Range>, \
basic_default_locale_ref<char>>> \
vscan(basic_context<detail::range_wrapper_for_t<Range>, \
basic_default_locale_ref<char>>&, \
basic_empty_parse_context<basic_default_locale_ref<char>>&, \
basic_args<basic_context<detail::range_wrapper_for_t<Range>, \
basic_default_locale_ref<char>>>);
scan_result_for_t< Context > vscan(Context &ctx, ParseCtx &pctx, basic_args< Context > args)
Definition: vscan.h:48

Definition at line 57 of file vscan.h.

Function Documentation

template<typename Context , typename ParseCtx >
scan_result_for_t<Context> scn::vscan ( Context &  ctx,
ParseCtx &  pctx,
basic_args< Context >  args 
)

Definition at line 48 of file vscan.h.