aGrUM  0.16.0
gum::BijectionIteratorGet< gen > Class Template Reference

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

#include <agrum/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 1363 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 1370 of file bijection.h.

1370  {
1371  return *x;
1372  }

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