The future of UDAs.
Jacob Carlborg
doob at me.com
Wed Nov 28 11:08:55 PST 2012
On 2012-11-28 16:54, Manu wrote:
> Certainly a potential problem, but I've set up my code such that these
> static constructors themselves have no external dependencies, and
> initialisation order is unimportant, since registered stuff just ends up
> in a globally accessible hash table anyway.
It doesn't matter if the static constructors don't have any external
dependencies. You can have an empty static constructor in two modules
which import each other. That will result in an exception being thrown
at runtime.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list