Home
Get Started
Documentation
Community
Google Summer of Code
FAQ
GitHub
Home
Get Started
Documentation
Community
Google Summer of Code
FAQ
GitHub
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
18
namespace
mlpack
{
19
namespace
util {
20
22
template
<
typename
T>
23
struct
IsStdVector
{
const
static
bool
value
=
false
; };
24
26
template
<
typename
T,
typename
A>
27
struct
IsStdVector
<
std
::vector<T, A>> {
const
static
bool
value
=
true
; };
28
29
}
// namespace util
30
}
// namespace mlpack
31
32
#endif
mlpack::util::IsStdVector::value
static const bool value
Definition:
is_std_vector.hpp:23
mlpack
Linear algebra utility functions, generally performed on matrices or vectors.
Definition:
add_to_cli11.hpp:21
std
Definition:
pointer_wrapper.hpp:23
mlpack::util::IsStdVector
Metaprogramming structure for vector detection.
Definition:
is_std_vector.hpp:23