On 21-Aug-2015 13:44, Walter Bright wrote:
On 8/21/2015 12:24 AM, Benjamin Thaut wrote:
Export basically means "Make this function or class visible across
shared library boundaries". I don't see how this connects to the
object factory.

Object.factory() only has a point when it is used to instantiate classes
in a DLL/so. It fits in nicely with export.


Still abusing visibility keyword is probably bad idea, it's already tricky with private implying final or some such nonsense.

Just add @ObjectFactory UDA to object.d and be done with it?


--
Dmitry Olshansky

Reply via email to