Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-03-26 12:10:43


Mathias Gaunard wrote:
> It is not clear from the documentation what the capture behaviour of
> terminals is.
> I assume it's capturing rvalues by value and lvalues by reference?

The capture behavior is inherited from std::bind, which captures
everything by value by default unless overridden with std::ref.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk