|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-06-27 15:11:11
"Robert Ramey" <ramey_at_[hidden]> writes:
> 1) as written above, it fails to compile on a conforming compler. This is
> because the << operator takes a reference as its argument.
Why is it a good idea for << to take its 2nd argument by non-const
reference??
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk