Boost logo

Boost :

Subject: Re: [boost] [Potentially OT] String Concatenation Operator
From: joel falcou (joel.falcou_at_[hidden])
Date: 2010-08-25 01:20:01


On 25/08/10 04:20, Dean Michael Berris wrote:
> I wonder though, when you say RT you mean "Run-Time"? Is there a way
> to do it possibly at compile time, gathering the length of literal
> strings at least?
>
Ah yes of course, you can walk the tree to find char[N] and use N as a
length element.
Now, mosr compiler will inline it automatically if you do it at runtime
anyway.


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