#include <bases.h>
Public Member Functions | |
std::unique_ptr< Strategy < Value > > | clone () const override |
Public Member Functions inherited from cauldron::Strategy< Value > | |
virtual Value | operator() () const =0 |
virtual Union< Value > | operator|| (const Strategy< Value > &strategy) const |
virtual Union< Value > | operator|| (const Union< Value > &strategy) const |
virtual Filtered< Value > | filter (const Requirement< Value > &requirement) const |
virtual Mapped< Value > | map (const Converter< Value > &converter) const |
Helper class for implementing Strategy::clone
method using curiously recurring template pattern .
Value | type of values generated by strategy. |
Derived | derivative strategy class. |
|
inlineoverridevirtual |
Creates a copy of the strategy instance and returns pointer to it.
Implements cauldron::Strategy< Value >.