Boost logo

Boost :

Subject: Re: [boost] Heads up - string_ref landing
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-11-16 09:39:35


On Fri, Nov 16, 2012 at 3:25 PM, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
> void f(std::string const&);
> f("Olaf");

Are compilers/optimizers not smart enough to construct the temporary
object at compile time?

-- 
Olaf

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