clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | List of all members
Clasp::select1st< P > Struct Template Reference

An unary operator function that returns the first value of a std::pair. More...

#include <misc_types.h>

Inheritance diagram for Clasp::select1st< P >:
Inheritance graph
Collaboration diagram for Clasp::select1st< P >:
Collaboration graph

Public Member Functions

P::first_type & operator() (P &x) const
 
const P::first_type & operator() (const P &x) const
 

Detailed Description

template<class P>
struct Clasp::select1st< P >

An unary operator function that returns the first value of a std::pair.

Member Function Documentation

template<class P >
P::first_type& Clasp::select1st< P >::operator() ( P &  x) const
inline
template<class P >
const P::first_type& Clasp::select1st< P >::operator() ( const P &  x) const
inline

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