摘要
介绍了C++标准为了适应泛型编程的大规模运用,在语言核心方面对泛型编程能力将要作出的改进,概述了C++模板类型系统Concepts的主要功能和语言要素以及标准库支持,并给出一些例子进行说明。最后,简单介绍了现有的Concepts实现。
This paper introduces the C + + Standard Generic programming in order to adapt to the large-scale use in the core areas of language Generic programming capacity will be made improvements, outlined the C + + Concepts of type system for template and the main function of language elements, and the support of standards, and some examples are given to illuminate. Finally, a brief account of the existing software to achieve the specification of Concepts,
作者
唐炜均
Tang Wei-jun (Colleges of Mathematics and Computer Science,Chongqing Three Gorges University,Wanzhou 404000,China)
出处
《电脑知识与技术》
2007年第6期1361-1363,共3页
Computer Knowledge and Technology