![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
a class used to register operators over pointers typesThis class is of course completely redundant with function pointerOperators4MultiDimInit. More...
#include <operators4MultiDim.h>
Public Member Functions | |
void | init () |
a class used to register operators over pointers types
This class is of course completely redundant with function pointerOperators4MultiDimInit.
Its aim is to enable different implementations of the operators for multidims depending in whether these multidim contain pointers or not. Actually, C++ allows partial specialization of templated classes (e.g., create different implementations for C<T> and C<T*>) but it does not allows partial specialization for functions. Hence, by creating a class the primary purpose of which is to run function operators4MultiDimInit or pointerOperators4MultiDimInit, we allow this partial specialization to obtain.
Definition at line 678 of file operators4MultiDim.h.
|
inline |
Definition at line 679 of file operators4MultiDim.h.