Replies: 4 comments 4 replies
-
What are the special advantages of C20 that make it recommended to upgrade to it rather than staying long-term on C17? |
Beta Was this translation helpful? Give feedback.
-
Fairly sure this is required from C++17 as well is it not? You can solve it by changing the use of the variables to this->VarName, or by placing using statements in the class as done for Thyme https://github.com/TheAssemblyArmada/Thyme/blob/ccef1e11c1355c6db577a057c06e7d790f1a0333/src/w3d/lib/vector.h#L213 |
Beta Was this translation helpful? Give feedback.
-
I've been doing this for Renegade, in tandem with getting us working properly on x64, and it hasn't been too bad (check my github). template |
Beta Was this translation helpful? Give feedback.
-
This is solved. |
Beta Was this translation helpful? Give feedback.
-
Regarding C++20...
We have a situation. C++20 requires to make dependent names in templates explicit. Like so
Before
After
"This" is an alias:
Consequence
This will be
The good news is that this is compatible with VS6 as well.
Perhaps we should stick with c++17 for now? That would requires no further changes and make the transition easier.
On the other hand, if we update later, then we still need to retroactively apply this to all original and new code.
What do we do?
Beta Was this translation helpful? Give feedback.
All reactions