On Wednesday, 13 November 2013 at 00:03:49 UTC, Jakob Ovrum wrote:
But alright, it is not a good factory.

Well, D compile-time reflection allows to define factory that finds all classes that implement given interface and provides them for construction, with no explicit list.

I have used this in D1 though because of limited compile-time reflection capabilities there.

Reply via email to