Program size, linking matter, and static this()

Timon Gehr timon.gehr at gmx.ch
Fri Dec 16 14:56:25 PST 2011


On 12/16/2011 11:39 PM, Jonathan M Davis wrote:
> [...]  For instance, it's impossible to move the singleton
> instances of UTC and LocalTime from std.datetime into another module without
> breaking encapsulation.

In what way would encapsulation be broken by just moving the class to a 
helper module?


More information about the Digitalmars-d mailing list