my opinion

guest (guest)
several means 1-100(maybe it's wrong), everybody know
class BaseClient {}
class Client1:public BaseClient{}
class Client2:public BaseClient{}
class Client3:public BaseClient{}

void foo(BaseClient& b){}
maybe it defined in another class, you don't need modify it if you add a new client only

but, I hope to get a better way to implement it,

Actualy, I don't understand your story about name, what do you really want to do?
2000-10-24 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: I have several clients, there is a little bit difference among them, maybe I'll have more clients in future, how to design the architecture?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论