
3 Oct
2008
3 Oct
'08
5:55 p.m.
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@gmail.com> 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: http://lists.boost.org/mailman/listinfo.cgi/boost
-- Alp Mestan --- http://blog.mestan.fr/ --- http://alp.developpez.com/ --- In charge of the Qt, Algorithms and Artificial Intelligence sections on Developpez