Article View: comp.std.c++
Article #2447Re: definition of allocator::difference_type?
From: David Byrden
Date: Tue, 07 Nov 1995 05:48
Date: Tue, 07 Nov 1995 05:48
14 lines
1273 bytes
1273 bytes
The basic intent here is that difference_type will have enough
bits, segments, and sundry machine-specific doodads to represent
the difference between two addresses, even if they are the two
ends of an array as large as all of memory.
The difference between addresses in separate object is undefined
in the sense that it is a meaningless number. None the less, this
meaningless number should FIT in a difference_type without
overflowing it.
David
---
[ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu.
Contact address: std-c++-request@ncar.ucar.edu. The moderation policy
is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<47mqgj$4qf$2@mhafc.production.compuserve.com>Path:
arc1-ca.pugleaf.net!in1.uu.net!bounce-backReferences:
<EBIEDERM.95Oct30235117@cse.unl.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back Date: 07 Nov 95 05:48:05 GMT Approved: fjh@cs.mu.oz.au From: David Byrden <100101.2547@CompuServe.COM> Newsgroups: comp.std.c++ Subject: Re: definition of allocator::difference_type? X-Original-Date: 7 Nov 1995 05:23:31 GMT Organization: CompuServe, Inc. (1-800-689-0736) Message-ID: <47mqgj$4qf$2@mhafc.production.compuserve.com> References: <EBIEDERM.95Oct30235117@cse.unl.edu> X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMJ7zN+EDnX0m9pzZAQHi4gF8DsyOucYlMjypD5sE0g16UuFKyya6mcpG a/5f0D4ThQwMfgVzosY1hA3Aj2qeYdev =zxvm