Jaakko Jarvi
In our last exciting episode Howard Hinnant wrote:
Can we call it "restrict_to" ? :-)
The one who does the work gets to pick the name :) :) Seriously, the CUJ paper uses enable_if, so it may be good to stick with that, though I do not have a strong preference.
We'll write the library using the name enable_if, and if the Boost community wants restrict_to or something else, we'll do a search replace through all the 10 lines of code :)
I've seen a few other names for this in use, but none has the currency of enable_if, which is becoming generally known as the major "brand-name" behind SFINAE. Though other names may be more technically accurate, I say stick with what's recognized. -- Dave Abrahams Boost Consulting www.boost-consulting.com