Date: Sat, 04 Apr 2026 19:51:51 -0700
On Saturday, 4 April 2026 18:25:31 Pacific Daylight Time Muneem via Std-
Proposals wrote:
> 1.Std::move does not work with std::variant unless the destination is a
> std::variant itself, so basically you are locked with std variant for that
> regard.
Wrong. You can move an object out of the variant through move semantics and
std::get().
Proposals wrote:
> 1.Std::move does not work with std::variant unless the destination is a
> std::variant itself, so basically you are locked with std variant for that
> regard.
Wrong. You can move an object out of the variant through move semantics and
std::get().
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel Data Center - Platform & Sys. Eng.
Received on 2026-04-05 02:51:55
