Boost logo

Boost :

From: Dale (dale.peakall_at_[hidden])
Date: 2002-10-07 06:06:57

Compiler: GCC 3.1
Boost Version: 1.28.0

If you attempt to instantiate an iterator adaptor over a non-iterator type
and just specify Base, Policies, Value and then use named parameters for
Category and Distance the iterator adaptor class attempts to instantiate
std::iterator_traits over the base class... which fails as the base class
doesn't define any of the appropriate typedefs.

Specifying all the parameters (without using named template paramters)
the problem.

However, the documentation suggests that if you specify Value, Reference and
Pointer should default to Value& and Value* rather than using

Perhaps they do, but it doesn't help if it still tries to instantiate

        - Dale.

Boost list run by bdawes at, gregod at, cpdaniel at, john at