¡@

Home 

c++ Programming Glossary: messagefactory

Dynamically register constructor methods in an AbstractFactory at compile time using C++ templates

http://stackoverflow.com/questions/2850213/dynamically-register-constructor-methods-in-an-abstractfactory-at-compile-time-u

at compile time using C templates When implementing a MessageFactory class to instatiate Message objects I used something like class.. to instatiate Message objects I used something like class MessageFactory public static Message create int type switch type case PING_MSG.. some research I found a way to dynamically update the MessageFactory at compile time so I can add as many messages as I want without..