Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-05-04 13:36:43

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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at