T.64: Use specialization to provide alternative implementations of class templates
T.64:使用特化提供类模板的不同实现
Reason(原因)
A template defines a general interface. Specialization offers a powerful mechanism for providing alternative implementations of that interface.
模板定义了普遍接口。特化提供了为接口提供不同实现的强有力机制。
Example(示例)
代码语言:javascript复制string specialization (==)
representation specialization