Boost logo

Boost :

From: Alisdair Meredith (alisdair.meredith_at_[hidden])
Date: 2003-04-25 03:38:16


Gennadiy Rozental wrote:

> And again. How is it different from boost::ref?

IIUC, boost::ref in a signiture will automatically deduce a reference
from the parameter, so pass-by-value and pass-by-reference still look
the same at the call site.

in_out is designed to use pass-by-reference similar to boost ref, but it
forces explicit acknowledgement at the call site, it specifically to not
extract a reference from a value.

-- 
AlisdairM

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