Tatooine
type_number_pair.h
Go to the documentation of this file.
1#ifndef TATOOINE_TYPE_NUMBER_PAIR_H
2#define TATOOINE_TYPE_NUMBER_PAIR_H
3//==============================================================================
4#include <cstdint>
5//==============================================================================
6namespace tatooine {
7//==============================================================================
8template <typename T, std::size_t N>
10 using type = T;
11 static auto constexpr value = N;
12};
13//==============================================================================
14} // namespace tatooine
15//==============================================================================
16#endif
Definition: algorithm.h:6
Definition: type_number_pair.h:9
T type
Definition: type_number_pair.h:10
static auto constexpr value
Definition: type_number_pair.h:11