Boost logo

Boost :

Subject: Re: [boost] [Boost.Pool] TR1?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-04-14 09:51:33


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AMDG

On 04/13/2011 09:27 PM, Phil Bouchard wrote:
> On 4/13/2011 8:56 PM, Steven Watanabe wrote:
>>
>> You're missing the point. The only thing the standard
>> guarantees about casting a pointer to intptr_t is
>> that it's reversible.
>
> 7.4.1.5 Integer types capable of holding object pointers
>
> It sounds to me I can save the value of cast to an integer and do
> whatever I want with it such as ordering.
>

Yes, but...
The order you get is entirely implementation defined.

In Christ,
Steven Watanabe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNpvvQAAoJEDTBQuhymLHSKG8IAIhS4KLy2RAzYSgJv2Hfbb16
j+vDae46RWP1iPPaDplADyqRJCOrtLj+QH5bDaYFj4eIAtFCXyDSjZAFpw6LBHVR
XK62XEz62X0expf2SSr1IoiyW1aqB69gGV/0wmwtEQ093eklbmO4ksuGt3RzKwha
08pPQwJ02/KF3RpYNcR/T8i96kvJ/f5jxKNRUfr/mUY3ne4EB5rdaFHsMLHcglNz
xOSaQ74IIHo0mN71yRH/D6/hFQGYISo6xemHNQNt1etuw6jksqusMMn0RjHHG4Q7
3m7ZPR5FOR5yvbsnoglCUGcxfKXthNoa0KYt2iYCPIyi9h68MroVeSiZ8lBVy5A=
=uk5V
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk