[net.lang.c++] Static constructors

jon@cit-vax.Caltech.Edu (Jonathan P. Leech) (05/19/86)

Summary:
Expires:
Sender:
Followup-To:

Organization : California Institute of Technology
Keywords:

    A cute problem people might want to be  aware  of:	I  declared  a
global	class  member.	 Its  constructor   printed   some   debugging
statements on cout - which also has  a	static	constructor.   'Munch'
unfortunately set up the program to call cout's constructor  AFTER  my
global class member's, leading to a core dump.

    Any suggestions for workarounds would be appreciated.
-- 
    Jon Leech (jon@csvax.caltech.edu || ...seismo!cit-vax!jon)
    Caltech Computer Science Graphics Group
    __@/