std::experi...::in_place_t(3)
π NAME π
std::experimental::in_place_t - std::experimental::in_place_t
okay bestie, welcome to std::experi...::in_place_t(3) from the C++ Standard Libary man pages π this one is short but iconic.
β¨ Synopsis β¨
Defined in header <experimental/optional>:
struct in_place_t {};
(library fundamentals TS)
So std::experimental::in_place_t is an empty class type, and its whole job is to disambiguate the overloads of constructors and member functions of that take arguments (possibly a parameter pack) for in-place construction of some value. lowkey a tiny little tag with main character energy π
π«Ά See also π«Ά
in_place,in_place_type,in_place_indexβ in-place construction tagin_place_tβ (tag)in_place_type_tin_place_index_tβ (C++17)optionalβ a wrapper that may or may not hold an object (C++17) (class template)
πΈ Category πΈ
- Noindexed pages
mwah π β source http://cppreference.com, dated 2024.06.10, page std::experi...::in_place_t(3) β¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms