On Monday, 5 August 2013 at 01:47:26 UTC, JS wrote:
Anyways, is this a bad or good way and how can I call Factory to get a new object? (I know that ther is .init and other stuff that can be used by Factor/New. I'm just trying to get the skeleton to compile and make sure there are not going to be major issues in the future.

I wouldn't use inheritance, but something that involves a template function and std.conv.emplace and handles all of your types uniformly.

Reply via email to