# std::experimental::in_place_t

From cppreference.com
< cpp‎ | experimental‎ | optional

Defined in header `<experimental/optional>` |  |
struct in_place_t {}; |  | (library fundamentals TS)

`std::experimental::in_place_t` is an empty class type used to disambiguate the overloads of constructors and member functions of that take arguments (possibly a parameter pack) for in-place construction of some value.

### See also

in_placein_place_typein_place_indexin_place_tin_place_type_tin_place_index_t (C++17) | in-place construction tag (tag)
optional (C++17) | a wrapper that may or may not hold an object (class template)

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/experimental/optional/in_place_t&oldid=80573"