Namespaces
Variants
Views
Actions

std::in_place_t

From cppreference.com
< cpp‎ | experimental‎ | optional
Revision as of 07:44, 16 August 2013 by Nate (Talk | contribs)

Defined in header <optional>
struct in_place_t {};
(since C++14)

std::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

(library fundamentals TS)
an object of type std::experimental::in_place_t
(function) [edit]
(library fundamentals TS)
a wrapper that may or may not hold an object
(class template) [edit]