[Gc] C++ API enhancement proposal

MenTaLguY mental at rydia.net
Sun Oct 14 18:51:37 PDT 2007


On Mon, 2007-10-15 at 03:20 +1000, skaller wrote:
> I beg to differ. The best practice is to use only global POD
> constants.

If you want singletons, it's the best way to do them without resorting
to non-POD constants, period.

Granted, doing singletons in C++ does mean fighting the language, and I
admit they're rarely the best way to do things generally...

-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://napali.hpl.hp.com/pipermail/gc/attachments/20071014/3ec8f7e8/attachment.pgp


More information about the Gc mailing list