Boost logo

Boost :

Subject: Re: [boost] Any real-world need for static_cast_iterator, const_cast_iterator, dynamic_cast_iterator?
From: Nigel Stewart (nigels_at_[hidden])
Date: 2009-02-04 00:20:52

> Personally, I've had much use of a custom made match<Type>() adaptor
> (using the Boost.RangeEx pipe syntax), that performs a transform with
> dynamic_pointer_cast and then filters null results.

        The idea would be to skip items that dynamic cast to NULL
        in the operator++() and operator--()? Except that I'm
        not sure how to detect the end of the container... ...
        sounds interesting...

- Nigel

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