Jul 23, 2014

[C++] Portable and safe way to add byte offset to any pointer

Portable and safe way to add byte offset to any pointer
(reinterpret_cast<unsigned char*>(ptr) + offset)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.