Hi, I would like to create such an object: static SomeClass my_instance; I found that if there is no reference to this instance, then gcc does not call its constructor at all. How can it be forced? Thanx in advance K. Gy.
Hi, I would like to create such an object: static SomeClass my_instance; I found that if there is no reference to this instance, then gcc does not call its constructor at all. How can it be forced? Thanx in advance K. Gy.