blob: d7e3b5d8a1d212d2e6547c7f269936b8d86454f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// The Art of C++ / Sequences
// Copyright (c) 2015 Daniel Frey
#ifndef TAOCPP_SEQUENCES_INCLUDE_VALUES_HPP
#define TAOCPP_SEQUENCES_INCLUDE_VALUES_HPP
namespace tao
{
namespace seq
{
template< typename T, T... Ns >
struct values
{
static constexpr T data[] = { Ns... };
};
}
}
#endif // TAOCPP_SEQUENCES_INCLUDE_VALUES_HPP
|