阅读背景:

在c++中,访问者模式是区分参数类型的最快方式吗?

来源:互联网 

Is the Visitor Pattern the fastest way to accomplish method parameter type identification (effectively single dispatch on a parameter, not a member's class) in C++? I might know the exact method(s) I want to invoke on elements of not-yet-know subtype, so invariably making an additional virtual method call like Is the Visitor Pattern the fastest way to accom




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: