
3 Oct
2008
3 Oct
'08
7:30 p.m.
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.