36 #ifndef OPENMS_CONCEPT_BINARYCOMPOSEFUNCTIONADAPTER_H 37 #define OPENMS_CONCEPT_BINARYCOMPOSEFUNCTIONADAPTER_H 106 template <
class OP1,
class OP2,
class OP3>
108 public std::binary_function<typename OP2::argument_type,
109 typename OP3::argument_type,
110 typename OP1::result_type>
119 op1_(o1), op2_(o2), op3_(o3)
124 typename OP1::result_type
126 const typename OP3::argument_type & y)
const 136 template <
class OP1,
class OP2,
class OP3>
145 #endif // OPENMS_CONCEPT_BINARYCOMPOSEFUNCTIONADAPTER_H OP1 op1_
Definition: BinaryComposeFunctionAdapter.h:113
BinaryComposeFunctionAdapter< OP1, OP2, OP3 > binaryCompose(const OP1 &o1, const OP2 &o2, const OP3 &o3)
Convenience function for the BinaryComposeFunctionAdapter adapter.
Definition: BinaryComposeFunctionAdapter.h:138
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
BinaryComposeFunctionAdapter(const OP1 &o1, const OP2 &o2, const OP3 &o3)
constructor
Definition: BinaryComposeFunctionAdapter.h:118
OP1::result_type operator()(const typename OP2::argument_type &x, const typename OP3::argument_type &y) const
function call
Definition: BinaryComposeFunctionAdapter.h:125
Represents the binary compose function object adapter.
Definition: BinaryComposeFunctionAdapter.h:107
OP3 op3_
Definition: BinaryComposeFunctionAdapter.h:115
OP2 op2_
Definition: BinaryComposeFunctionAdapter.h:114