1 | #pragma once |
---|---|
2 | |
3 | #include <cstddef> |
4 | |
5 | namespace c10 { |
6 | |
7 | struct in_place_t { |
8 | explicit in_place_t() = default; |
9 | }; |
10 | |
11 | template <std::size_t I> |
12 | struct in_place_index_t { |
13 | explicit in_place_index_t() = default; |
14 | }; |
15 | |
16 | template <typename T> |
17 | struct in_place_type_t { |
18 | explicit in_place_type_t() = default; |
19 | }; |
20 | |
21 | constexpr in_place_t in_place{}; |
22 | |
23 | } // namespace c10 |
24 |