Re: Constructor protection: package ctors, UFCS, static methods?

2014-12-27 Thread ketmar via Digitalmars-d-learn
On Sat, 27 Dec 2014 23:34:06 + aldanor via Digitalmars-d-learn wrote: > On Friday, 26 December 2014 at 15:58:18 UTC, aldanor wrote: > > Please ignore the missing "new" keywords in the code and other > > minor typos :) > > Any opinions please?.. Would be much appreciated. i can't understand

Re: Constructor protection: package ctors, UFCS, static methods?

2014-12-27 Thread aldanor via Digitalmars-d-learn
On Friday, 26 December 2014 at 15:58:18 UTC, aldanor wrote: Please ignore the missing "new" keywords in the code and other minor typos :) Any opinions please?.. Would be much appreciated. Thanks!

Re: Constructor protection: package ctors, UFCS, static methods?

2014-12-26 Thread aldanor via Digitalmars-d-learn
Please ignore the missing "new" keywords in the code and other minor typos :)

Constructor protection: package ctors, UFCS, static methods?

2014-12-26 Thread aldanor via Digitalmars-d-learn
Hi, I've been wondering if anyone would give some advice on an OOP-related question. Assume there's an external library (module c_library) that handles IDs for groups and datasets and we want to wrap it in a high-level D API. Groups can contain datasets identified by names, and each dataset has