aGrUM  0.20.3
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/tools/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. More...
 

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 1352 of file bijection.h.

Member Function Documentation

◆ op_second()

template<bool gen>
template<typename T >
static 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 1359 of file bijection.h.

1359  {
1360  return *x;
1361  }

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