From: David Abrahams (dave_at_[hidden])
Date: 2005-05-02 23:49:59
"Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> writes:
>>> returns temporary. FOREACH make copy of this temporary into another
>> Are you sure that copy can't be elided?
> I do not know. FOREACH makes copy from temporary into simple variant using
> placement new.
Hm, unlikely. Oh well, there's always move semantics ;-)
-- 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