]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/regex/test/regress/test_icu.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / regex / test / regress / test_icu.cpp
index 67044f0e09ea8fd4af7d487c19c826976018338d..1ef9fa962d34e0829656f6bfcfc49016f6330b3b 100644 (file)
@@ -33,16 +33,16 @@ namespace unnecessary_fix{
 //
 template <class Seq>
 class back_insert_iterator 
-#ifndef BOOST_NO_STD_ITERATOR
-   : public std::iterator<std::output_iterator_tag,void,void,void,void>
-#endif
 {
 private:
    Seq* container;
 public:
    typedef const typename Seq::value_type value_type;
    typedef Seq                  container_type;
-   typedef std::output_iterator_tag  iterator_category;
+   typedef void                     difference_type;
+   typedef void                     pointer;
+   typedef void                     reference;
+   typedef std::output_iterator_tag iterator_category;
 
    explicit back_insert_iterator(Seq& x) : container(&x) {}
    back_insert_iterator& operator=(const value_type& val)