Boost logo

Boost :

Subject: Re: [boost] is_range metafunction
From: Alp Mestan (alp_at_[hidden])
Date: 2008-10-03 13:55:11

I guess it has to possess a ::value static boolean...
Regarding the code that determines whether the parameter is a range or not,
hmm it's like you can/want.

On 10/3/08, Neal Becker <ndbecker2_at_[hidden]> wrote:
> I could use one to enable a range constructor only where appropriate:
> class X {
> template<typename range_t>
> X (range_t const&, enable_if<is_range<range_t> >::type *dummy=0)
> Question is, what might 'is_range' look like?
> _______________________________________________
> Unsubscribe & other changes:

Alp Mestan
--- In charge of the Qt, Algorithms and Artificial Intelligence sections on

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