- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
DesignofConceptLibrariesforCBjarne(为cBjarne设计概念库)
Design of Concept Libraries for C++ Andrew Sutton and Bjarne Stroustrup Texas AM University Department of Computer Science and Engineering {asutton, bs}@ Abstract. We present a set of concepts (requirements on template arguments) for a large subset of the ISO C++ standard library. The goal of our work is twofold: to identify a minimal and useful set of concepts required to constrain the library’s generic algorithms and data structures and to gain insights into how best to support such concepts within C++. We start with the design of concepts rather than the design of supporting language features; the language design must be made to fit the concepts, rather than the other way around. A direct result of the experiment is the realization that to simply and elegantly support generic pro- gramming we need two kinds of abstractions: constraints are predicates on static properties of a type, and concepts are abstract specifications of an algorithm’s syntactic and semantic requirements. Constraints are necessary building blocks of concepts. Semantic properties are represented as axioms. We summarize our approach: . This insight is leveraged to de- velop a library containing only 14 concepts that encompassing the functional, iterator, and algorithm components of the C++ Standard Library (the STL). The concepts are implemented as constraint classes and evaluated using Clang’s and GCC’s Standard Library test suites. Keywords: Generic programming, concepts, constraints, axioms, C++. 1 Introduction Concepts (requirements on template arguments) are the central feature of C++ generic library design; they define the terms in which a
您可能关注的文档
- Corsair Obsidian Series 800D(海盗黑曜石系列800 d).pdf
- CorelDRAW Graphics Suite X6 Reviewer's Guide(平面设计图形套件X6评论家的指南).pdf
- Cost Allocation in a Service Industry(成本分配在一个服务行业).pdf
- Cost comparison of industrial steel building by ...(工业厂房建筑的成本比较u2026u2026).pdf
- Cost of Ownership Cooper Industries(库柏拥有成本的行业).pdf
- Cost of Capital for Venture Capitalists and ...(资本成本的风险资本家和u2026).pdf
- Council of Scientific and Industrial Research (科学和工业研究理事会).pdf
- COUNTERFLOW SYSTEM PUMPS glong (逆流系统泵glong).pdf
- Costing of a Small Hydropower Projects (成本的小型水电项目).pdf
- CostEffective Entry into Laser Direct Structuring (成本效益的进入激光直接构建).pdf
- DESIGN OF ECCENTRICALLY LOADED BRACING (支撑砼偏心受压构件的设计).pdf
- Design of driven piles and drilled shaft foundations(设计桩和钻孔轴驱动的基础).pdf
- DESIGN OF A LARGE RECTANGULAR FLANGE (一个大矩形法兰的设计).pdf
- Design of Experiments (DOE) Tutorial Keysight(实验设计(DOE)教程Keysight).pdf
- Design of fastenings for use in concrete The (连接件的设计在混凝土使用).pdf
- Design of Greenhouse Irrigation System at (温室灌溉系统的设计).pdf
- Design of Headed Anchor Bolts Engineering(将螺栓的设计工程).pdf
- DESIGN OF CENTRIFUGAL CASTING (设计离心铸造).pdf
- Design of hoppers using spreadsheet (漏斗使用电子表格的设计).pdf
- Design of Hydraulic and Thermal Fluid Systems (液压和热液系统的设计).pdf
文档评论(0)