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

A functor dereferencing a given type. More...

#include <StreamUtil.h>

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

Public Member Functions

auto operator() (const T &t) const -> decltype(*t)
 
auto operator() (T &t) const -> decltype(*t)
 

Detailed Description

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

A functor dereferencing a given type.

Template Parameters
Tsome arbitrary type with an overloaded * operator (deref)

Definition at line 151 of file StreamUtil.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename T >
auto souffle::deref< T >::operator() ( const T &  t) const -> decltype(*t)
inline

Definition at line 155 of file StreamUtil.h.

160  : public detail::print<deref<T>> {};

◆ operator()() [2/2]

template<typename T >
auto souffle::deref< T >::operator() ( T &  t) const -> decltype(*t)
inline

Definition at line 152 of file StreamUtil.h.

160  : public detail::print<deref<T>> {};

Referenced by souffle::id< T >::operator()().


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