arg_router  1.4.0
C++ command line argument parsing and routing
arg_router::traits::arg_extractor< T > Struct Template Reference

#include <arg_router/traits.hpp>

Detailed Description

template<typename T>
struct arg_router::traits::arg_extractor< T >

Evaluates to a std::tuple of the return and argument types the Callable T has.

The first tuple element type is the return type.

From https://stackoverflow.com/a/27867127/498437.

Note
The specialisations are not complete, there are no volatile or ref-qualified versions. Does NOT work with overloaded or templated function/methods (obviously)
Template Parameters
TType to query

Definition at line 718 of file traits.hpp.


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