Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-02-26 07:15:54


Bjorn.Karlsson_at_[hidden] wrote:
>> From: David Abrahams [mailto:dave_at_[hidden]]
> [snip]
>>> Sorry, during shortening my previous mail before posting,
>> one sentence
>>> got lost :) I was suggesting to add is_iterator,
>>
>> If you can figure out how to do that, you will be a hero to many.
> [snip]
>
> One way would be to check if the required iterator_traits are defined
> for
> the type, i.e. iterator_traits<T>::difference_type etc, using
> BOOST_MPL_HAS_XXX_TRAIT_DEF. Too fragile?

No, it just doesn't work.


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