clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | Protected Attributes | List of all members
Clasp::compose_1< OP1, OP2 > Struct Template Reference

An unary operator function that returns Op1(Op2(x)) More...

#include <misc_types.h>

Inheritance diagram for Clasp::compose_1< OP1, OP2 >:
Inheritance graph
Collaboration diagram for Clasp::compose_1< OP1, OP2 >:
Collaboration graph

Public Member Functions

 compose_1 (const OP1 &op1, const OP2 &op2)
 
OP1::result_type operator() (const typename OP2::argument_type &x) const
 

Protected Attributes

OP1 op1_
 
OP2 op2_
 

Detailed Description

template<class OP1, class OP2>
struct Clasp::compose_1< OP1, OP2 >

An unary operator function that returns Op1(Op2(x))

Constructor & Destructor Documentation

template<class OP1, class OP2>
Clasp::compose_1< OP1, OP2 >::compose_1 ( const OP1 &  op1,
const OP2 &  op2 
)
inline

Member Function Documentation

template<class OP1, class OP2>
OP1::result_type Clasp::compose_1< OP1, OP2 >::operator() ( const typename OP2::argument_type &  x) const
inline

Member Data Documentation

template<class OP1, class OP2>
OP1 Clasp::compose_1< OP1, OP2 >::op1_
protected
template<class OP1, class OP2>
OP2 Clasp::compose_1< OP1, OP2 >::op2_
protected

The documentation for this struct was generated from the following file: