Static Const Object Polymorphism

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 24 00:12:34 PDT 2015


On 2015-03-23 20:17, klodkevin wrote:

> What are your thoughts on this?

I didn't read the whole post but it looks like you've come up with 
what's called Policy-based design [1]. The only difference is that you 
combined several template parameters in one single parameter. I have 
actually started to do the same with the serialization package for 
Phobos I'm working on.

[1] http://en.wikipedia.org/wiki/Policy-based_design

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list