When you read articles or reference pages for std::any
, std::optional
or std::variant
you might notice a few helper types called in_place_*
available in constructors.
Why do we need such syntax? Is this more efficient than “standard” construction?
Read more...