tlx
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
is_std_vector.hpp
Go to the documentation of this file.
1
/*******************************************************************************
2
* tlx/meta/is_std_vector.hpp
3
*
4
* Part of tlx - http://panthema.net/tlx
5
*
6
* Copyright (C) 2016-2017 Timo Bingmann <tb@panthema.net>
7
*
8
* All rights reserved. Published under the Boost Software License, Version 1.0
9
******************************************************************************/
10
11
#ifndef TLX_META_IS_STD_VECTOR_HEADER
12
#define TLX_META_IS_STD_VECTOR_HEADER
13
14
#include <vector>
15
16
namespace
tlx
{
17
18
//! \addtogroup tlx_meta
19
//! \{
20
21
//! test if is std::vector<T>
22
template
<
typename
T>
23
struct
is_std_vector
:
public
std::false_type { };
24
25
template
<
typename
T>
26
struct
is_std_vector
<
std
::vector<T> >:
public
std::true_type { };
27
28
//! \}
29
30
}
// namespace tlx
31
32
#endif // !TLX_META_IS_STD_VECTOR_HEADER
33
34
/******************************************************************************/
tlx::is_std_vector
test if is std::vector<T>
Definition:
is_std_vector.hpp:23
std
STL namespace.
tlx
Definition:
exclusive_scan.hpp:17
tlx
meta
is_std_vector.hpp
Generated on Sat Oct 2 2021 20:29:00 for tlx by
1.8.11