> STL uses name "size_type" in the same case. So I should remark that size
> exists not only for buffers :) Though I can live with current
> implementation.

For good reason...I would suggest changing this decision.

> > The only doubt is if we want to store more than 4 billion items in a
> > vector on 64-bit platforms; in this case, unsigned long should be used.
> 
> AFAIK long is 32-bit on Visual C++ in 64-bit mode in contrast to g++.

Exactly. If you want consistent container sizes across platforms, there is
no built-in type for that.

-- Scott



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to