Skip to content
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

Lead symbol in class member names #1

Open
fascinatingwind opened this issue Nov 22, 2022 · 3 comments
Open

Lead symbol in class member names #1

fascinatingwind opened this issue Nov 22, 2022 · 3 comments

Comments

@fascinatingwind
Copy link

Try rid off member names with lead "_" symbol.

@JordanCpp
Copy link
Owner

Please show an example of the code.

@fascinatingwind
Copy link
Author

Like here https://github.com/JordanCpp/Lib-LDL/blob/master/include/LDL/Allocators/FixedLinear.hpp

You have members like :

size_t Capacity; <-- name with lead "" symbol.
size_t Position; <-- name with lead "" symbol.
uint8_t* Content; <-- name with lead "" symbol.
LDL::Allocators::Allocator* Allocator; <-- name with lead "" symbol.

STL are reserved names with lead ""
you can move "
" move to end like

size_t Capacity_;

@JordanCpp
Copy link
Owner

Thanks. It will need to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants