2

Somebody beleives we can acheive good structure of code with template meta programming, without object-orient method. So can we just add template support to C, to make C more powerful without losing the runtime effieciency?

4

1 回答 1

3

它已经发生了。C11 新增的类型泛型主表达式的特性_Generic基本上就是这样。

于 2012-08-03T14:08:37.130 回答