-
Notifications
You must be signed in to change notification settings - Fork 151
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
Deprecated Inheritance From std::iterator Didn't Make It To Release #176
Comments
Any updates on this? Feels like this hack (adding back the deprecated and then removed For users relying on C++17, lots of very irritating deprecation warnings appear when using ublas. |
Anyone? |
What I remember from previous conversations on the matter is that the uBLAS team have their own ideas of how the develop and master branches need to work - develop requires C++20, whereas master still doesn't. But if so, someone needs to take care of cherry-picking fixes from develop to master. |
An UBLAS patch called: "Remove deprecated inheritance from std::iterator #97" didn't make it into the released version of Boost.
"std::iterator was deprecated in C++17 and removed in C++20. I replaced the inheritance with the 5 equivalent typedefs, even though they're not all used by ublas, for compatibility in case clients depend on them."
If I copy the file latest development version of the boost/numeric/ublas/detail/iterator.hpp into my boost directory it fixes the issue when building with VS 2019 C++20.
The fix was over 2 years ago and should have made it into Boost 1_75.
-Kurt
The text was updated successfully, but these errors were encountered: