Rebind template(bug?)
Engine Machine via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Aug 22 14:46:35 PDT 2016
On Monday, 22 August 2016 at 19:09:34 UTC, Jack Applegame wrote:
> On Monday, 22 August 2016 at 18:04:43 UTC, Engine Machine wrote:
>> How do you seriously think this is cleaner/simpler?
> 1. No extra encrypted things, such as InstantiateOrEmptySeq
> 2. Much more understandable.
>
>> You have two classes.
> No. I have one template with two specializations. Class
> template and class is not the same thing.
>
>> Their is no uniformity between them.
> They have the same name. This is the best uniformity.
>
>> You have uniformity between all the derived classes then have
>> a special case for the base class. A certain easy to follow
>> pattern is set up but needlessly break it for one case. Why?
> Because it is the base class. It has no parent. Also this is
> the standard and well known pattern in template metaprogramming.
I'm sorry if it confuses you... it doesn't confuse me. I do not
know why you have to try and prove something that is a
preference. Do you often get in to arguments with people about
how ford is better than chevy or blonds are better than brunettes?
More information about the Digitalmars-d-learn
mailing list