Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-10 12:57:18


"Peter Dimov" <pdimov_at_[hidden]> wrote in message
news:00a101c550d8$39178d50$6401a8c0_at_pdimov2...
| Eric Niebler wrote:
|
| > I think this [size(char[N]) == N-1] is OK.
|
| It's very much a non-problem today, both because the majority of char[]
| arrays are indeed string literals, and because BOOST_FOREACH on a string
| literal seems pretty pointless.
|
| Things may become more interesting in the future, when on platform X
| BOOST_FOREACH on int[] could decide to skip the last element of the array
| because utf32_t happened to map to int.
|
| > If you think this is a problem, you should discuss it with Thorsten.
|
| I'm not looking forward to that.

Please do anyway. If you think there is a major problem in the defaults of the
Range library, please say so.

I'll be writing a proposal about it in a few months time.

best regards

-Thorsten


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