aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
gum::BijectionIteratorGet< gen > Class Template Reference

Dummy classes for discriminating scalars and non-scalars operators and -> wihtout any overhead. More...

#include <agrum/base/core/bijection.h>

Static Public Member Functions

template<typename T>
static INLINE const T & op_second (const T *x)
 Returns a refeence over a pointer.

Detailed Description

template<bool gen>
class gum::BijectionIteratorGet< gen >

Dummy classes for discriminating scalars and non-scalars operators and -> wihtout any overhead.

This will be used for scalar types.

This will be used for non-scala types.

Definition at line 1146 of file bijection.h.

Member Function Documentation

◆ op_second()

template<bool gen>
template<typename T>
INLINE const T & gum::BijectionIteratorGet< gen >::op_second ( const T * x)
inlinestatic

Returns a refeence over a pointer.

Parameters
xThe pointer for which a reference is returned.
Returns
Returns a reference over x.

Definition at line 1153 of file bijection.h.

1153 {
1154 return *x;
1155 }
Dummy classes for discriminating scalars and non-scalars operators and -> wihtout any overhead.
Definition bijection.h:1146

Referenced by gum::BijectionIterator< T1, T2 >::second(), and gum::BijectionIteratorSafe< T1, T2 >::second().

Here is the caller graph for this function:

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