[Boost-bugs] [Boost C++ Libraries] #11340: Is boost/archive/iterators/head_iterator.hpp used or supported?

Subject: [Boost-bugs] [Boost C++ Libraries] #11340: Is boost/archive/iterators/head_iterator.hpp used or supported?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-25 18:49:31


#11340: Is boost/archive/iterators/head_iterator.hpp used or supported?
------------------------------+---------------------------
 Reporter: boris@… | Owner: ramey
     Type: Support Requests | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------
 Is the header file boost/archive/iterators/head_iterator.hpp used
 anywhere? Or is it supported (meaning I as a Boost user can use it)? I'm
 asking as the code in the header file doesn't seem to compile. I didn't
 play around much but when I include the header file I get these errors:

 /usr/include/boost/archive/iterators/head_iterator.hpp:45:13: error:
 missing 'typename' prior to dependent type name 'super_t::value_type'
     typedef super_t::value_type value_type;
             ^~~~~~~~~~~~~~~~~~~
             typename
 /usr/include/boost/archive/iterators/head_iterator.hpp:46:13: error:
 missing 'typename' prior to dependent type name 'super_t::reference'
     typedef super_t::reference reference_type;
             ^~~~~~~~~~~~~~~~~~
             typename
 /usr/include/boost/archive/iterators/head_iterator.hpp:62:11: error: use
 of undeclared identifier 'base_reference'; did you mean 'dereference'?
         ++base_reference();
           ^~~~~~~~~~~~~~
           dereference
 /usr/include/boost/archive/iterators/head_iterator.hpp:57:20: note:
 'dereference' declared here
     reference_type dereference() const {

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11340>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC