Opened 7 years ago

Closed 7 years ago

#11340 closed Support Requests (fixed)

Is boost/archive/iterators/head_iterator.hpp used or supported?

Reported by: boris@… Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.57.0 Severity: Problem
Keywords: Cc:

Description

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 {

Change History (1)

comment:1 by Robert Ramey, 7 years ago

Resolution: fixed
Status: newclosed

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.

So I'll just delete it.

So if you know what it's good for, and / or have a use for it, keep your own copy.

Robert Ramey

Note: See TracTickets for help on using tickets.