Boost logo

Boost :

Subject: Re: [boost] [type_traits] Request: is_iterable
From: Krzysztof Czainski (1czajnik_at_[hidden])
Date: 2013-02-02 04:34:37

2013/2/2 Nathan Ridge <zeratul976_at_[hidden]>
> Nevin Liber <nevin_at_[hidden]>:
> > I'd like to make a request for an is_iterable<T> type trait, which
> > if a type can be used in C++11 range-based for. I have a prototype which
> > currently meets my needs (I can make it available; it detects if both
> > std::begin(c) and std::end(c) can be called), but I'm wondering:
> >
> > a) What should the name be? (I'm not married to is_iterable)
> is_range ?


> > Does this sound like a good idea?



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