------- Comment #25 from paolo dot carlini at oracle dot com 2009-12-17 12:07 ------- Interesting trick, really, the power of extended SFINAE ;) I think we should keep that in mind, for the DO THE RIGHT THING clause of the containers too, for example (some time ago Howard told me that in his Metrowerks implementation, it is *much* better than the minimum requirements of the standard, it almost always actually does the right thing ;) but he did that a lot of time ago, it's probably just a jungle of enable_ifs + "something"). So... What do you think, shall we have an "__is_iterator" trait and use it where it's useful? For post-4.5.0, in any case...
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497