|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-04-17 10:12:47
David Abrahams <dave_at_[hidden]> writes:
>> as stated before if sink is "void sink(X const &);" Comeau in strict mode
>> complains that there is no X(X const &) constructor.
>
> As stated before, no it doesn't. Please test my code first and make
> claims about it later.
I realize now that you were talking about the old code sample I posted
to this list quite some time ago. That said, I've been saying for a
few messages now that sink(source()) works with the current code.
-- Dave Abrahams Boost Consulting http://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