radix_tree icon indicating copy to clipboard operation
radix_tree copied to clipboard

deprecation warning, gcc-13

Open dakka opened this issue 2 years ago • 2 comments

radix_tree/radix_tree_it.hpp:12:35: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
   12 | class radix_tree_it : public std::iterator<std::forward_iterator_tag, std::pair<K, T> > {
      |                                   ^~~~~~~~

dakka avatar Aug 30 '23 23:08 dakka

@dakka I think it's because "std::iterator is deprecated". Please refer to this blog: https://www.fluentcpp.com/2018/05/08/std-iterator-deprecated/

streamone avatar Sep 15 '23 07:09 streamone

@dakka I think it's because "std::iterator is deprecated". Please refer to this blog: https://www.fluentcpp.com/2018/05/08/std-iterator-deprecated/

Yes, reporting in the hope the author will fix.

dakka avatar Sep 15 '23 08:09 dakka