mlpack
master
|
Go to the source code of this file.
Macros | |
#define | BOOST_TEMPLATE_CLASS_VERSION(SIGNATURE, T, N) |
Use this like BOOST_CLASS_VERSION(), but for templated classes. More... | |
A better version of the BOOST_CLASS_VERSION() macro that supports templated classes.
mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.
Definition in file serialization_template_version.hpp.
#define BOOST_TEMPLATE_CLASS_VERSION | ( | SIGNATURE, | |
T, | |||
N | |||
) |
Use this like BOOST_CLASS_VERSION(), but for templated classes.
The first argument is the signature for the template. Here is an example for math::Range<eT>:
BOOST_TEMPLATE_CLASS_VERSION(template<typename eT>, math::Range<eT>, 1);
Definition at line 23 of file serialization_template_version.hpp.