Closed nanoric closed 2 years ago
Thanks for the report. Which compiler and version are you using?
I'm using Visual Studio 2022 17.0.4. And maybe you can check with online compiler: godbolt
Thanks for the report. Boost.Container uses a simplified iterator_traits model to avoid costly include overhead, but C++20's new requirements for iterator_traits seem too complicated, so it's better to switch to std in those cases. I've committed a change (https://github.com/boostorg/move/commit/208df9f3c338674697614c125b4d98d9cc446173) in Boost.Move, which serves this iterator_traits emulation to Boost.Move and Boost.Intrusive and I'll complete it with a commit in Boost.Container.
nice description and nice work.
Check the code blow: