Boost logo

Boost :

From: Pavol Droba (droba_at_[hidden])
Date: 2002-12-19 11:39:48


Hi,

Recently I had to deal with iterator_traits. This feature is kind of problematic
on the compilers without partial specialization. Ususally, when iterator_traits
are broken, they are not handling generic pointers as iterators. Most of the STL
libraries have workaroud for such a situation, but it is usualy used only internaly.

After a lot of thinking, how to solve the problem, I have found the small file
iterator.hpp in boost/detail directory.

In this file, there is a complete solution for my problem. I was happy to use it,
but I'm wondering, why it is not documented, or at least mentioned somewhere?
There are more of such useful headers in boost/detail directory, which are used
by various libraries. Whouldn't it make sense to write a simple doc mentioning
all this utilities, so people don't have to invent a wheel again and again?

Pavol


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