-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add offsetof functionality #8
Conversation
What about 'memory'? Could get other members such as make_unique etc. (if needed) |
I like the idea of |
I also want to add the rationale for this functionality: There is an inofficial offsetof language extension that is mainly implemented as compiler extension but it is rather limited in usage. Lately, some compilers even dropped support of this functionality. |
This PR is part of #6. |
|
||
#include <cstddef> | ||
|
||
namespace cppassist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ANother empty line here, please.
It does not belong into any of the existing folders, any (naming) suggestions on the category of this kind of functionality?