Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-05-07 21:29:16

"Peter Dimov" <pdimov_at_[hidden]> wrote in message news:001701c43441$fb8d8150$1d00a8c0_at_pdimov2...

| This however reminds me about a related issue. If I read the implementation
| correctly, the size of T[N] is usually N, but it's N-1 when T is char or
| wchar_t. I understand that this is being done to support "character
| literals", but it obviously has the potential to introduce subtle off by one
| bugs, especially in generic code.

That would be bad especially since it's supposed to remove off-by-one bugs. Exactly kind of trouple
are you talking about?



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