mlpack 3.4.2
is_std_vector.hpp
Go to the documentation of this file.
1
13#ifndef MLPACK_CORE_UTIL_IS_STD_VECTOR_HPP
14#define MLPACK_CORE_UTIL_IS_STD_VECTOR_HPP
15
16#include <vector>
17
18namespace mlpack {
19namespace util {
20
22template<typename T>
23struct IsStdVector { const static bool value = false; };
24
26template<typename T, typename A>
27struct IsStdVector<std::vector<T, A>> { const static bool value = true; };
28
29} // namespace util
30} // namespace mlpack
31
32#endif
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
Definition: prereqs.hpp:67
Metaprogramming structure for vector detection.
static const bool value