ROSE
0.11.96.11
|
Factories for creating instances of Sawyer::CommandLine::ValueAugmenter subclasses.
A factory function is a more terse and convenient way of calling the instance
allocating constructors for the various subclasses of ValueAugmenter, and they sometimes alleviate the user from having to supply template arguments. They take the same arguments as the instance
method(s) and have the same name as the class they return, except their initial letter is lower-case. These two calls are equivalent:
template<typename T > | |
Sum< T >::Ptr | Sawyer::CommandLine::sum () |
Factory for value agumenter. More... | |
Sum<T>::Ptr Sawyer::CommandLine::sum | ( | ) |
Factory for value agumenter.
A factory function is a more terse and convenient way of calling the instance
allocating constructors for ValueAugmenter subclasses and often alleviates the user from having to specify template arguments.
Definition at line 1981 of file util/Sawyer/CommandLine.h.
References Sawyer::CommandLine::Sum< T >::instance().
Referenced by Sawyer::Container::Trace< T, IndexTag >::burstiness(), and Sawyer::CommandLine::Sum< T >::operator()().