¡@

Home 

c++ Programming Glossary: pongmessage

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

PING_MSG return new PingMessage case PONG_MSG return new PongMessage .... This works ok but every time I add a new message I have.. virtual void say printf Ping n class PongMessage public MessageTmpl 11 PongMessage public.. class PongMessage public MessageTmpl 11 PongMessage public PongMessage ..