Boost logo

Boost :

From: Greg Hawkins (Greg.Hawkins_at_[hidden])
Date: 2002-12-30 13:56:02


Hi.

With recent CVS, code using tokenizer<char_separator<char> > fails to
compile for me (MSVC 6.5) unless I include the following specialisation:

namespace boost { namespace detail {
template <>
struct iterator_traits<const char*> : ptr_iter_traits<char, const char>
{
};
}}

It complains that value_type is not a member of base at line 382.

(I tried specialising pointer_iterator_traits instead but it didn't
work.)

I think such specialisations should be probably be provided for the
common character types if tokenizer depends on them. Or am I missing
something?

all the best,
Greg


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk