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

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -

scikit learn - python sklearn KDTree with haversine distance -