std.locale
Christopher Wright
dhasenan at gmail.com
Mon Mar 2 16:59:08 PST 2009
Andrei Alexandrescu wrote:
> If you want to provide a specific date formatter, you plant a delegate
> in the locale table. The code in Phobos doing formatting will detect
> that and call your delegate passing in the date. You do whatever you
> want on your side (format on the spot, use your own class hierarchy etc.)
>
> Again: mechanism only. Not policy.
>
>
> Andrei
Weak typing for the win!
More information about the Digitalmars-d
mailing list