Things that may be removed
Jarrett Billingsley
jarrett.billingsley at gmail.com
Wed Dec 17 16:23:20 PST 2008
On Wed, Dec 17, 2008 at 7:14 PM, Jason House
<jason.james.house at gmail.com> 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.
More information about the Digitalmars-d
mailing list