Subject: [std-proposals] std::any for non-copyable types
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2020-05-28 08:41:58
Is there a proposal for std::any like type that does not require held types
to be copyable and has unique ownership of the held data?
Is there interest in such class?
We have an in house implementation that I find very useful for storing
structures that contain unique_ptr (Flatbuffers, recursive types) and even
non-movable types with mutexes.
STD-PROPOSALS list run by firstname.lastname@example.org
Standard Proposals Archives on Google Groups