mlpack
3.4.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
mlpack
core
util
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::util::IsStdVector
Metaprogramming structure for vector detection.
Definition:
is_std_vector.hpp:23
Generated by
1.8.5