Re: Policy-based design in D

2017-02-14 Thread TheGag96 via Digitalmars-d-learn
On Tuesday, 14 February 2017 at 10:05:19 UTC, TheFlyingFiddle wrote: (snip) Oh, I didn't know you could name mixin template instantiations like that! Thanks for the tip, that makes things work nicely!

Re: Policy-based design in D

2017-02-14 Thread TheFlyingFiddle via Digitalmars-d-learn
On Tuesday, 14 February 2017 at 06:48:33 UTC, TheGag96 wrote: Tonight I stumbled upon Andrei's concept of policy-based design (https://en.wikipedia.org/wiki/Policy-based_design) and tried to implement their example in D with the lack of multiple inheritance in mind.

Re: Policy-based design in D

2017-02-13 Thread Daniel Kozak via Digitalmars-d-learn
Dne 14.2.2017 v 07:48 TheGag96 via Digitalmars-d-learn napsal(a): https://dpaste.dzfl.pl/adc05892344f (btw, any reason why certificate validation on dpaste fails right now?) Because certificate is expired, dpaste use certs from Lets Encrypt which has short time of validity I have same issue

Policy-based design in D

2017-02-13 Thread TheGag96 via Digitalmars-d-learn
Tonight I stumbled upon Andrei's concept of policy-based design (https://en.wikipedia.org/wiki/Policy-based_design) and tried to implement their example in D with the lack of multiple inheritance in mind. https://dpaste.dzfl.pl/adc05892344f (btw, any reason why certificate validation on