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

An unary operator function that simply returns its argument. More...

#include <misc_types.h>

Inheritance diagram for Clasp::identity< T >:
Inheritance graph
Collaboration diagram for Clasp::identity< T >:
Collaboration graph

Public Member Functions

T & operator() (T &x) const
 
const T & operator() (const T &x) const
 

Detailed Description

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

An unary operator function that simply returns its argument.

Member Function Documentation

template<class T >
T& Clasp::identity< T >::operator() ( T &  x) const
inline
template<class T >
const T& Clasp::identity< T >::operator() ( const T &  x) const
inline

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