]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/regex/example/timer/regex_timer.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / regex / example / timer / regex_timer.cpp
index a692423711a68adfa15b2dd23a98f0d04daadc0e..48f41a9b1f2a0c9c6b543e5cbe693d678f8c5dc6 100644 (file)
@@ -67,18 +67,14 @@ ostream& operator << (ostream& os, const std::wstring& s)
 
 template <class S>
 class string_out_iterator 
-#ifndef BOOST_NO_STD_ITERATOR
-  : public std::iterator<std::output_iterator_tag, void, void, void, void>
-#endif // ndef BOOST_NO_STD_ITERATOR
 {
-#ifdef BOOST_NO_STD_ITERATOR
+public:
    typedef std::output_iterator_tag iterator_category;
    typedef void value_type;
    typedef void difference_type;
    typedef void pointer;
    typedef void reference;
-#endif // BOOST_NO_STD_ITERATOR
-
+private:
    S* out;
 public:
    string_out_iterator(S& s) : out(&s) {}