12 #ifndef MLPACK_BINDINGS_IO_DELETE_ALLOCATED_MEMORY_HPP 13 #define MLPACK_BINDINGS_IO_DELETE_ALLOCATED_MEMORY_HPP 25 const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0)
33 const typename std::enable_if<arma::is_arma_type<T>::value>::type* = 0)
41 const typename std::enable_if<!arma::is_arma_type<T>::value>::type* = 0,
45 delete *boost::any_cast<T*>(&d.
value);
54 DeleteAllocatedMemoryImpl<typename std::remove_pointer<T>::type>(d);
boost::any value
The actual value that is held.
Linear algebra utility functions, generally performed on matrices or vectors.
void DeleteAllocatedMemory(util::ParamData &d, const void *, void *)
This structure holds all of the information about a single parameter, including its value (which is s...
void DeleteAllocatedMemoryImpl(util::ParamData &, const typename std::enable_if<!data::HasSerialize< T >::value >::type *=0, const typename std::enable_if<!arma::is_arma_type< T >::value >::type *=0)