20 Jan
2005
20 Jan
'05
11:10 a.m.
Dear Jason, On Wed, 19 Jan 2005, Jason Dusek wrote:
Can include guards solve this problem? Do I *have* to make that evil factory initializer thingy?
The simplest way is to just declare symbols in header files (i.e., symbol x;) and to define them in one cpp-file (i.e., symbol x("x");). That is what I generally do. I am not a big fan of factories either. Best wishes, Chris