Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-05-27 06:24:24


Jonathan Wakely wrote:

> Can it be persuaded to do so? Maybe it ignores the cast to size_type
> and uses an int because -1 will fit in an int, in which case maybe
> this would make it use a bigger type:
>
> enum npos_type { npos = -1UL }
>

nope, does not work.


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