|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-12-19 11:53:25
Pavol Droba <droba_at_[hidden]> writes:
> 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,
I'm very glad you find it useful!
> 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?
Be my guest ;-)
The hardest part of writing libraries is certainly documenting them.
Speaking for myself, I'm lazy, and only wish to spend the effort to
document libraries I want to release to the world.
-Dave
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk