We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This can cause issues across shared object boundaries, only ever use constexpr in Constants.hpp.
constexpr
Constants.hpp
One way to fix this is to convert this:
const MyType value;
to
const MyType& GetVal() { static MyType val; return val; }
The text was updated successfully, but these errors were encountered:
constexpr MyType value; will work as well as long as there's a constexpr constructor.
constexpr MyType value;
Sorry, something went wrong.
No branches or pull requests
This can cause issues across shared object boundaries, only ever use
constexpr
inConstants.hpp
.One way to fix this is to convert this:
const MyType value;
to
The text was updated successfully, but these errors were encountered: