Xor trick?

bearophile bearophileHUGS at lycos.com
Sat Jan 25 16:14:40 PST 2014


Adam D. Ruppe:

> You could cast it to size_t, then the compiler will let you do 
> the operation, but casting pointers to and from integers means 
> you take matters of correctness into your own hands.

Right, so I have to carry around size_t instead of pointers.

Bye and thank you,
bearophile


More information about the Digitalmars-d-learn mailing list