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

Use constexpr for compile time constants #210

Open
no-lex opened this issue Apr 22, 2021 · 0 comments
Open

Use constexpr for compile time constants #210

no-lex opened this issue Apr 22, 2021 · 0 comments
Labels
misimplementation Circumlocutious or redundant implementation

Comments

@no-lex
Copy link
Member

no-lex commented Apr 22, 2021

C++11 and above have a constexpr storage type for values which can be evaluated and are fixed during compilation. Using constexpr for these values makes it more clear when values are being set.

@no-lex no-lex added the misimplementation Circumlocutious or redundant implementation label Apr 22, 2021
no-lex added a commit that referenced this issue Apr 22, 2021
no-lex added a commit that referenced this issue Jun 6, 2021
no-lex added a commit that referenced this issue Jun 8, 2021
no-lex added a commit that referenced this issue Jun 9, 2021
no-lex added a commit that referenced this issue Jun 11, 2021
no-lex added a commit that referenced this issue Jun 11, 2021
no-lex added a commit that referenced this issue Jun 14, 2021
no-lex added a commit that referenced this issue Jun 17, 2021
no-lex added a commit that referenced this issue Jun 18, 2021
no-lex added a commit that referenced this issue Jun 18, 2021
no-lex added a commit that referenced this issue Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misimplementation Circumlocutious or redundant implementation
Projects
None yet
Development

No branches or pull requests

1 participant