参数多态(parametric),采用参数化模板,通过给出不同的类型参数,使得一个结构有多种类型。
类型参数(多态性)。
我认为对多个参数进行多态分派所具有的这种对称性比先前的样式要雅致得多。
I think this symmetry in polymorphic dispatch on multiple arguments is much more elegant than is the prior style.
如果这个外部项目已经有一个不同用户ID和密码,使用多态性功能add,这样可以给用户ID和密码添加额外的参数(请查看列表25)。
If the external project has a different user ID and password, use the polymorphic function add, which takes additional parameters for the user ID and password (see Figure 25).
应用推荐