]> git.lyx.org Git - lyx.git/blobdiff - 3rdparty/boost/boost/iterator/iterator_adaptor.hpp
Update to boost 1.72
[lyx.git] / 3rdparty / boost / boost / iterator / iterator_adaptor.hpp
index f803fc65ed6d4bcb38b0585950e0f6c48ab02f1f..db1c4daa3cfe1d0008b388c7e537ea5ecf96e91f 100644 (file)
@@ -9,6 +9,8 @@
 
 #include <boost/static_assert.hpp>
 
+#include <boost/core/use_default.hpp>
+
 #include <boost/iterator/iterator_categories.hpp>
 #include <boost/iterator/iterator_facade.hpp>
 #include <boost/iterator/detail/enable_if.hpp>
@@ -35,12 +37,10 @@ namespace iterators {
   // Used as a default template argument internally, merely to
   // indicate "use the default", this can also be passed by users
   // explicitly in order to specify that the default should be used.
-  struct use_default;
+  using boost::use_default;
 
 } // namespace iterators
 
-using iterators::use_default;
-
 // the incompleteness of use_default causes massive problems for
 // is_convertible (naturally).  This workaround is fortunately not
 // needed for vc6/vc7.