mlpack
|
If value == true, then VecType is some sort of Armadillo vector or subview. More...
#include <arma_traits.hpp>
Static Public Attributes | |
static const bool | value = false |
If value == true, then VecType is some sort of Armadillo vector or subview.
You might use this struct like this:
The use of the enable_if_t object allows the compiler to instantiate Function() only if VecType is one of the Armadillo vector types. It has a default argument because it isn't meant to be used in either the function call or the function body.