c++ object link order visual studios -


im having problem visual studios 2013. building large c++ project many classes. problem several of classes static or have static objects of predefined values. problem of these classes rely on static versions of other objects. yet upon debugging can see 1 of these static objects being initialized static object has yet initialized. there way define order objects initialized? can see searching cant specify linking order , if doesnt determine static object initialization order.

would separating objects out static libraries help? or there easy way tell order static objects should initialized? or need find way initialize them in correct order?


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -