[haiku-development] Re: RFC: BytePointer class to simplify pointer arithmetics

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 26 Feb 2019 14:58:10 +0100

Am 26/02/2019 um 08:48 schrieb Adrien Destugues:

And here is an example use of this:
https://review.haiku-os.org/c/haiku/+/1083
[...]
What do you think about it? Should we merge these BytePointer
changes, or stick with traditional pointer math with casts?

I'm not that fond of the name, but I don't have a better suggestion either, unfortunately.
The code using it certainly does look cleaner.

Bye,
   Axel.

Other related posts: