$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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
>>> temporary.
>>
>> 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