in_place_index_t
namespace opentl {
template <opentl::size_t I>
struct in_place_index_t {
explicit in_place_index_t() = default;
};
template <opentl::size_t I>
inline constexpr in_place_index_t<I> in_place_index;
}
Tag type for in-place construction by index.
Template Parameters
| Name | Description |
|---|---|
I |
The index to construct in-place. |
Member Functions
| Name | Return Type | Description |
|---|---|---|
in_place_index_t() |
— | Default constructor. |