c++ Programming Glossary: addtoglobal
C++ global initialization order ignores dependencies? http://stackoverflow.com/questions/3746238/c-global-initialization-order-ignores-dependencies Foo printf Foo Foo n void add printf Foo add n static int addToGlobal printf Foo addToGlobal START n globalFoo.add printf Foo addToGlobal.. add printf Foo add n static int addToGlobal printf Foo addToGlobal START n globalFoo.add printf Foo addToGlobal END n return 0.. printf Foo addToGlobal START n globalFoo.add printf Foo addToGlobal END n return 0 Foo globalFoo int dummy Foo addToGlobal int main..
|