Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-19 20:57:46


"Dave Harris" <brangdon_at_[hidden]> wrote in message
news:memo.187862_at_cix.compulink.co.uk...
| In-Reply-To: <d6dhiu$hai$1_at_[hidden]>
| technews_at_[hidden] (Jonathan Turkanis) wrote (abridged):
| > > Are we going to generalise it to allow any (compile-time constant)
| > > terminator?
| >
| > Why does the terminator have to be a compile-time constant?
|
| I was hesitant about suggesting a generalisation which added run-time
| overhead over only supporting '\0'.

can you back that up with performance measurements?

(I would expect good compilers to completely remove the overhead; C++0x
compiles are likely to guarantee this)

-Thorsten


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