Boost C++ Libraries: Ticket #11340: Is boost/archive/iterators/head_iterator.hpp used or supported? https://svn.boost.org/trac10/ticket/11340 <p> 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: </p> <p> /usr/include/boost/archive/iterators/head_iterator.hpp:45:13: error: missing 'typename' prior to dependent type name 'super_t::value_type' </p> <blockquote> <p> typedef super_t::value_type value_type; </p> <blockquote> <p> <sup><del></del><del></del><del></del><del></del><del> typename </del></sup></p> </blockquote> </blockquote> <p> /usr/include/boost/archive/iterators/head_iterator.hpp:46:13: error: missing 'typename' prior to dependent type name 'super_t::reference' </p> <blockquote> <p> typedef super_t::reference reference_type; </p> <blockquote> <p> <sup><del></del><del></del><del></del><del></del>~ typename </sup></p> </blockquote> </blockquote> <p> /usr/include/boost/archive/iterators/head_iterator.hpp:62:11: error: use of undeclared identifier 'base_reference'; did you mean 'dereference'? </p> <blockquote> <p> ++base_reference(); </p> <blockquote> <p> <sup><del></del><del></del><del></del>~ dereference </sup></p> </blockquote> </blockquote> <p> /usr/include/boost/archive/iterators/head_iterator.hpp:57:20: note: 'dereference' declared here </p> <blockquote> <p> reference_type dereference() const { </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11340 Trac 1.4.3 Robert Ramey Mon, 25 May 2015 19:08:34 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11340#comment:1 https://svn.boost.org/trac10/ticket/11340#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I looked at this and can't figure out why it's there or what it does. It hasn't been modified since 2004 and it's not included in the serialization library so I have no idea what it's history is. It doesn't have any comments and it's not mentioned in the serialization documentation so I don't know what it's supposed to do. </p> <p> So I'll just delete it. </p> <p> So if you know what it's good for, and / or have a use for it, keep your own copy. </p> <p> Robert Ramey </p> Ticket