arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1201.0027cs.PL
收藏

C++0x的“概念”工作

The C++0x "Concepts" Effort

Jeremy G. Siek

摘要:

C++0x是C++程序设计语言的ISO标准修订版的工作名称,原计划于2009年发布,但推迟到2011年。C++0x中最大的语言扩展是“概念”,即用于约束模板参数的特性集合。2008年9月,C++标准委员会投票将概念扩展纳入C++0x,但随后在2009年7月,委员会投票将概念扩展退出C++0x。本文是我对2003年至2009年“概念”工作中的技术挑战和辩论的描述。为了提供一些背景知识,本文还描述了受约束的参数多态性的设计空间,或者通俗地称为受约束的泛型。虽然这篇文章的目的是为了让一般人都能理解,但它的目标读者是具有函数式编程和程序设计语言理论背景的读者。本文来源于2010年3月在牛津大学Spring School on Generic and Indexed Programming的一次演讲。

英文摘要:

C++0x is the working title for the revision of the ISO standard of the C++ programming language that was originally planned for release in 2009 but that was delayed to 2011. The largest language extension in C++0x was "concepts", that is, a collection of features for constraining template parameters. In September of 2008, the C++ standards committee voted the concepts extension into C++0x, but then in July of 2009, the committee voted the concepts extension back out of C++0x. This article is my account of the technical challenges and debates within the "concepts" effort in the years 2003 to 2009. To provide some background, the article also describes the design space for constrained parametric polymorphism, or what is colloquially know as constrained generics. While this article is meant to be generally accessible, the writing is aimed toward readers with background in functional programming and programming language theory. This article grew out of a lecture at the Spring School on Generic and Indexed Programming at the University of Oxford, March 2010.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑