std::experimental:: in_place_t
From cppreference.net
<
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 | ||||
|
in_place_t
|
||||
| Helper objects | ||||
|
헤더에 정의됨
<experimental/optional>
|
||
|
struct
in_place_t
{
}
;
|
(라이브러리 fundamentals TS) | |
std::experimental::in_place_t
는 일부 값을 제자리에서 생성하기 위해 인수(매개변수 팩일 수 있음)를 취하는 생성자 및 멤버 함수의 오버로드를 명확히 구분하기 위해 사용되는 빈 클래스 유형입니다.
참고 항목
|
인-플레이스 생성 태그
(태그) |
|
|
(C++17)
|
객체를 보유할 수도 있고 보유하지 않을 수도 있는 래퍼
(클래스 템플릿) |