On Wed, Dec 17, 2008 at 7:14 PM, Jason House <[email protected]> wrote: > SFINAE > > Accidental use of SFINAE is confusing. > > Code using SFINAE is tough or impossible to follow. > > Use of SFINAE can lead to longer compile times. > > Removing SFINAE will expose shortfalls in D's metaprogramming facilities. > > Combining all of these faults into a templated library and you have C++'s STL > or Boost all over again. They're amazingly useful in C++, but D can do far > better!
There's one more - SFINAE has become all but unnecessary in D, at least in D2. static if and template constraints (the if() after the template header) seem to be much more general (and easier to follow) than SFINAE.
