Such a type would be very useful for us. We make extensive use of move-only types (and have a noncopayble_function template). I would welcome a standard noncopyable any.

On 28/05/2020 16.41, Antony Polukhin via Std-Proposals wrote:
Hi,

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.