cmdline::oneof_reader< T > Struct Template Reference

#include <cmdline.h>

Public Member Functions

operator() (const std::string &s)
void add (const T &v)

Detailed Description

template<class T>
struct cmdline::oneof_reader< T >

Definition at line 240 of file cmdline.h.

Member Function Documentation

◆ operator()()

template<class T >
T cmdline::oneof_reader< T >::operator() ( const std::string &  s)

Definition at line 241 of file cmdline.h.

References cmdline::throw_cmdline_error().

◆ add()

template<class T >
void cmdline::oneof_reader< T >::add ( const T &  v)

Definition at line 247 of file cmdline.h.

Referenced by cmdline::oneof().

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