arg_router  1.4.0
C++ command line argument parsing and routing
arg_router::parser< T, Enable > Struct Template Reference

#include <arg_router/parsing/global_parser.hpp>

Detailed Description

template<typename T, typename Enable = void>
struct arg_router::parser< T, Enable >

Global parsing struct.

If you want to provide custom parsing for an entire type, then you should specialise this. If you want to provide custom parsing for a particular type just for a single argument, it is usually more convenient to use a policy::custom_parser and define the conversion function inline.

Template Parameters
TType to parse token into
Parameters
tokenCommand line token to parse
Returns
The parsed instance
Exceptions
multi_lang_exceptionThrown if parsing failed

Definition at line 26 of file global_parser.hpp.


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