tlx
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
is_std_array.hpp
Go to the documentation of this file.
1
/*******************************************************************************
2
* tlx/meta/is_std_array.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_ARRAY_HEADER
12
#define TLX_META_IS_STD_ARRAY_HEADER
13
14
#include <array>
15
#include <cstddef>
16
17
namespace
tlx
{
18
19
//! \addtogroup tlx_meta
20
//! \{
21
22
//! test if is std::array<T, N>
23
template
<
typename
T>
24
struct
is_std_array
:
public
std::false_type { };
25
26
template
<
typename
T,
size_t
N>
27
struct
is_std_array
<
std
::array<T, N> >:
public
std::true_type { };
28
29
//! \}
30
31
}
// namespace tlx
32
33
#endif // !TLX_META_IS_STD_ARRAY_HEADER
34
35
/******************************************************************************/
std
STL namespace.
tlx
Definition:
exclusive_scan.hpp:17
tlx::is_std_array
test if is std::array<T, N>
Definition:
is_std_array.hpp:24
tlx
meta
is_std_array.hpp
Generated on Sat Oct 2 2021 20:29:00 for tlx by
1.8.11