Boost logo

Boost :

From: Денис Михайлов (denismikhaylov38_at_[hidden])
Date: 2022-08-20 08:04:47

I find an wrapper like `boost::reference_wrapper`, but with more abilities,
like this:
int value = 0;
auto rref = boost::ref(std::move(value));
auto prref = boost::ref(int{});
f(rref); // pass rref into f by ordinary reference
f(std::move(rref)); // move rref into f
f(std::move(prref)); // move prref into f
Is there such functionality on the Boost side? If not, is it allowed to
discuss the possibility of contributing it?

Boost list run by bdawes at, gregod at, cpdaniel at, john at