std::experimental:: in_place
From cppreference.com
<
cpp
|
experimental
|
optional
C++
Experimental
| Technical Specification | ||||
| Filesystem library (filesystem TS) | ||||
| Library fundamentals (library fundamentals TS) | ||||
| Library fundamentals 2 (library fundamentals TS v2) | ||||
| Library fundamentals 3 (library fundamentals TS v3) | ||||
| Extensions for parallelism (parallelism TS) | ||||
| Extensions for parallelism 2 (parallelism TS v2) | ||||
| Extensions for concurrency (concurrency TS) | ||||
| Extensions for concurrency 2 (concurrency TS v2) | ||||
| Concepts (concepts TS) | ||||
| Ranges (ranges TS) | ||||
| Reflection (reflection TS) | ||||
| Mathematical special functions (special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
std::experimental::optional
| Member functions | ||||
| Observers | ||||
| Modifiers | ||||
| Non-member functions | ||||
| Helper classes | ||||
| Helper objects | ||||
|
in_place
|
|
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.
See also
|
in-place construction tag
(tag) |
|
|
(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&oldid=105743
"