11 #ifndef MLPACK_PREREQS_HPP 12 #define MLPACK_PREREQS_HPP 15 #define _USE_MATH_DEFINES 20 #pragma message "Armadillo was included before mlpack; this can sometimes cause\ 21 problems. It should only be necessary to include <mlpack/core.hpp> and not \ 40 #define M_PI 3.141592653589793238462643383279 45 #if defined(__GNUG__) && !defined(DEBUG) 47 #define force_inline __attribute__((always_inline)) 48 #elif defined(_MSC_VER) && !defined(DEBUG) 50 #define force_inline __forceinline 54 #if __cplusplus <= 201103L 55 #if !defined(_MSC_VER) || _MSC_VER <= 1800 58 template<
bool B,
class T =
void>
66 #undef BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS 67 #undef BOOST_MPL_LIMIT_LIST_SIZE 68 #define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS 69 #define BOOST_MPL_LIMIT_LIST_SIZE 40 75 #include <boost/serialization/serialization.hpp> 76 #include <boost/serialization/vector.hpp> 77 #include <boost/serialization/map.hpp> 80 #include "mlpack/core/boost_backport/boost_backport_serialization.hpp" 90 #include <mlpack/core/arma_extend/arma_extend.hpp> 105 #pragma warning(disable : 4519) 106 #define ARMA_USE_CXX11
typename enable_if< B, T >::type enable_if_t