13 #ifndef MLPACK_BINDINGS_UTIL_STRIP_TYPE_HPP 14 #define MLPACK_BINDINGS_UTIL_STRIP_TYPE_HPP 31 const size_t loc = cppType.find(
"<>");
32 if (loc != std::string::npos)
33 cppType.replace(loc, 2,
"");
auto replace(Range &&rng, T const &old, T const &value) -> enable_if_t< is_range< Range >::value >
Linear algebra utility functions, generally performed on matrices or vectors.
std::string StripType(std::string cppType)
Given a C++ type name, turn it into something that has no special characters that can simply be print...