Boost logo

Boost :

Subject: Re: [boost] [operators] The future
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2011-10-04 15:25:49


On Tue, Oct 4, 2011 at 3:22 PM, Eric Niebler <eric_at_[hidden]> wrote:
>
> No, because the temporary created by "type() + type()" is guaranteed to
> live until after foo returns.

This. More specifically, by the standard it will survive for the the full
expression in which it appears.

-- 
-Matt Calabrese

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