¡@

Home 

c++ Programming Glossary: registerhelper_

(static initialization/template instantiation) problems with factory pattern

http://stackoverflow.com/questions/2851991/static-initialization-template-instantiation-problems-with-factory-pattern

think of is that the order of initialization of the static registerHelper_ object factory_helper_ and the std map object initMap are wrong.. initMap template class TParent const char ClassName class registerHelper_ registerHelperBase static registerHelper_ help_ public void.. ClassName class registerHelper_ registerHelperBase static registerHelper_ help_ public void doNothing registerHelper_ getInitMap std..