aGrUM  0.13.2
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 1361 of file bijection.h.

Member Function Documentation

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

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

1368  {
1369  return *x;
1370  }

+ Here is the caller graph for this function:


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