Andre Poenitz <[EMAIL PROTECTED]> writes: | On Thu, Oct 09, 2003 at 11:14:04AM +0200, Lars Gullik Bjønnes wrote: >> What type does std::distance return? We should use that for the >> offsets. > | Some difference_type. > | I currently use | | typedef std::vector<char>::difference_type par_type; > | which is not _exactly_ what we need, but I've not seen any compiler | implementation which is using different difference_type's for different | containers.
Would it cost a lot to use the right one? and par_type is a bit anonymous... offset_type, offset_t ? -- Lgb