souffle  2.0.2-371-g6315b36
Public Member Functions
souffle::id< T > Struct Template Reference

A functor representing the identity function for a generic type T. More...

#include <StreamUtil.h>

Collaboration diagram for souffle::id< T >:
Collaboration graph

Public Member Functions

const T & operator() (const T &t) const
 
T & operator() (T &t) const
 

Detailed Description

template<typename T>
struct souffle::id< T >

A functor representing the identity function for a generic type T.

Template Parameters
Tsome arbitrary type

Definition at line 136 of file StreamUtil.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename T >
const T& souffle::id< T >::operator() ( const T &  t) const
inline

Definition at line 140 of file StreamUtil.h.

145  {

References souffle::deref< T >::operator()().

Here is the call graph for this function:

◆ operator()() [2/2]

template<typename T >
T& souffle::id< T >::operator() ( T &  t) const
inline

Definition at line 137 of file StreamUtil.h.

145  {

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