Paolo Carlini wrote:

So, yes, you can add the casts as a temporary work-around.

By the way, probably now I see why you consider the two issues related and (some) casts temporary: in the case of vector, for example (not in the case of deque) we are currently using in many places size_type, whereas, after the max_size change, we could directly use difference_type and avoid the casts altogether. Of course, the specific warning noticed by Gerald, from _M_deallocate, when we call allocator::deallocate, would still require a cast.

Paolo.

Reply via email to