全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Generic programming?

Definition 4.3 University Computer Science — Year 2 · 第 4 章 — Templates and Generic Programming

Generic programming writes algorithms and data structures once, in terms of the operations they need from their element types (copy, compare, add), so that they apply to every type providing those operations, with no loss of type checking or of speed against a version written for one type.

在原文中阅读 →