#include <fst/script/arg-packs.h>
Public Member Functions | |
| WithReturnValue (const ArgPackage &args) | |
Public Attributes | |
| Retval | retval |
| const ArgPackage & | args |
Tack this on to an existing arg pack to add a return value. The syntax for accessing the args is then slightly more stilted, as you must do an extra member access (since the args are stored as a member of this class). The alternative is to declare another slew of templates for functions that return a value, analogous to the above.
Definition at line 219 of file arg-packs.h.
| fst::script::args::WithReturnValue< Retval, ArgPackage >::WithReturnValue | ( | const ArgPackage & | args | ) | [inline, explicit] |
Definition at line 223 of file arg-packs.h.
| const ArgPackage& fst::script::args::WithReturnValue< Retval, ArgPackage >::args |
Definition at line 221 of file arg-packs.h.
| Retval fst::script::args::WithReturnValue< Retval, ArgPackage >::retval |
Definition at line 220 of file arg-packs.h.
1.7.1