Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2003-06-20 07:30:24


Jaakko Jarvi <jajarvi_at_[hidden]> writes:

> 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net