Boost logo

Boost :

Subject: Re: [boost] is_range metafunction
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2008-10-03 15:30:57


Neal Becker wrote:

> I noticed that range has a <range/concepts.hpp>. I wonder if I could use e.g., SinglePassRangeConcept? I don't know if this could be used to provide an enable_if type functionality (or how to do it).

This concept checking isn't really done at compile-time, so you cannot
use its result with SFINAE.
That's one of the major drawbacks of the concept checking library.


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