The signatures of this class and functions seems wrong.
struct in_place_t {};
template <std::size_t I>
in_place_t in_place(unspecified<I>);
template <class T>
in_place_t in_place(unspecified<T>);
There is a parameter to in_place
, but elsewhere there is no argument passed.
How in_place_t
can remember the I
or the T
?
BTW, where in_place_t
is used?