C++ guys hate static_if?
Nick Sabalausky
SeeWebsiteToContactMe at semitwist.com
Tue Mar 12 06:44:28 PDT 2013
On Tue, 12 Mar 2013 12:51:03 +0100
"TommiT" <tommitissari at hotmail.com> wrote:
> On Tuesday, 12 March 2013 at 02:39:06 UTC, TommiT wrote:
> > struct S1 implements A2 {
> > void foo() { }
> > void bar() { }
> > }
>
> That's not good. Types shouldn't have to explicitly say that they
> implement a concept.
I *strongly* disagree. A much as I love ranges (for example), their
duckiness is the one thing I consider to be a huge mistake.
More information about the Digitalmars-d
mailing list