13template <
class ReturnType,
class ParamType >
16 std::shared_ptr < abstraction::Value >
run ( )
const override {
17 const std::shared_ptr < abstraction::Value > & param = std::get < 0 > ( this->
getParams ( ) );
19 return std::make_shared < abstraction::ValueHolder < ReturnType > > ( ReturnType ( retrieveValue < const ParamType & > ( param ) ), true );
Definition: CastAbstraction.hpp:14
std::shared_ptr< abstraction::Value > run() const override
Definition: CastAbstraction.hpp:16
const ext::array< std::shared_ptr< abstraction::Value >, NumberOfParams > & getParams() const
Definition: NaryOperationAbstraction.hpp:21
Definition: NaryOperationAbstraction.hpp:77
Definition: ValueOperationAbstraction.hpp:19
Definition: AlgorithmAbstraction.hpp:11