![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
a class used to register operators over non-pointers typesThis class is of course completely redundant with function operators4MultiDimInit. More...
#include <operators4MultiDim.h>
Public Member Functions | |
void | init () |
a class used to register operators over non-pointers types
This class is of course completely redundant with function operators4MultiDimInit.
Its aim is to enable specialization of function operators4MultiDimInit for pointer types: 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, we allow this partial specialization. This is most effective to produce different codes for pointer types and non-pointer types.
Definition at line 658 of file operators4MultiDim.h.
|
inline |
Definition at line 659 of file operators4MultiDim.h.