Topic: [++] Namespace constructors and destructors


Author: biderd@abm.si
Date: 1996/08/09
Raw View
For the same uses as explained in my previos writing -
it would also be useful if namespaces could have constructors
and destructors, such that would take no parameters.
The namespace constructors would be executed prior to
the main() function, in the order in which namespaces were
declared. (So that one namespace's constructor could use
members of another, already constructed namespace)
The destructors would be executed after the main() function
has finished, in the reverse order of declaration.

Btw, who is the official person that I should harrass with
these proposals? I didn't find anybody mentioned yet.

denis (denis.bider@abm.si)
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]