Subject: Re: [boost] [iterators] Missing typedefs in v1.57
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2014-12-09 13:12:01
On Tuesday 09 December 2014 10:43:11 news.gmane.org wrote:
> I posted this a week ago in the user mailing list but it went unnoticed.
> Perhaps this developers' list is a better place to post it.
> The typedefs for difference_type and reference used to be in scope for
> classes derived from iterator_facade. Since v1.57 they have to be declared
> typedef typename iterator_facade_::difference_type difference_type;
> typedef typename iterator_facade_::reference reference;
> This seems out of place for a class that was designed to reduce boiler plate
> code. However, if the change was intentional, please document it.
I'm not sure what you mean. The typedefs are in the base class of
iterator_facade and are public. As such they are accessible to the derived
classes. Can you elaborate what the problem is?