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

A predicate that checks whether a std::pair contains a certain value. More...

#include <misc_types.h>

Collaboration diagram for Clasp::PairContains< T >:
Collaboration graph

Public Member Functions

 PairContains (const T &p)
 
bool operator() (const std::pair< T, T > &s) const
 

Public Attributes

p_
 

Detailed Description

template<class T>
struct Clasp::PairContains< T >

A predicate that checks whether a std::pair contains a certain value.

Constructor & Destructor Documentation

template<class T >
Clasp::PairContains< T >::PairContains ( const T &  p)
inline

Member Function Documentation

template<class T >
bool Clasp::PairContains< T >::operator() ( const std::pair< T, T > &  s) const
inline

Member Data Documentation

template<class T >
T Clasp::PairContains< T >::p_

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