-
Notifications
You must be signed in to change notification settings - Fork 27
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
Fix problems related to using-based function references (C++ 20) #538
Conversation
This PR will be solved within scope of issue #544. |
|
Update: The issue appears only when compiling with C++ 20 standard enabled. |
500f322
to
2060042
Compare
2060042
to
0e462bc
Compare
Implement typeInfo static function without use of auto in Reflectable.h.
Hopefully fixed on master by commit 0e53b4d |
Thanks! Do you generally not accept PRs? Then it would be good to mention that somewhere. |
I was already working on it when you pushed your changes today. We have also a plan to provide some PR rules/howto, since we are quite paranoid about coding style (which is also not officially defined :-)). |
The previous way in which
using
was used to declare the typeInfo function for each builtin reflectable does not seem to be understood by MSVC 2019 (19.29.30146.0).This is just the start of the error messages I was seeing during compilation for each usage of a
typeInfo
function:UPDATE: This problem appears only when compiling with C++ 20 standard enabled.