std::experimental::in_place - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::in_place

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

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

`std::experimental::in_place` is a constant of type std::experimental::in_place_t that is 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.

### [edit] See also

in_place_t (since C++17) | disambiguation tag type for in-place construction of optional types (class) [edit]
optional (since C++17) | a wrapper that may or may not hold an object (class template) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/optional/in_place&oldid=80562"