阅读背景:

为什么访客负责以访客模式列举儿童?

来源:互联网 

Based on the code I've found, it seems that the Visitor is required to known the structure of the visited objects and call on the needed children. This seems a bit clunky in some cases where the visitor would want to continue to work even if the visited classes are modified.Based on the code I've found, it seems that the




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

分享到: