j
k
j a
j l
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 }
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.
Back to the thread
Back to the list