Preparing for the new C++11 standard

被引:0
|
作者
Naumann, Axel [1 ]
机构
[1] CERN PH SFT, CH-1211 Geneva 23, Switzerland
关键词
D O I
10.1088/1742-6596/396/5/052056
中图分类号
O4 [物理学];
学科分类号
0702 ;
摘要
C++11 is a revolution to C++, adding many essential features (such as std:: unordered_map) and new syntactic constructs (e.g. rvalue references, lambdas). Interfaces, e.g. header files, have to be understood also by C++ novices. Limiting the exposed features is already common for C++ 2003[2], and will likely be necessary for C++11, even for the bravest programmers. This contribution explains why a compiler is the ideal tool for enforcing such rules, and what the options are for implementing it. It proposes clang, the LLVM-based C++ compiler front-end as an example implementation.
引用
收藏
页数:6
相关论文
共 50 条
  • [21] Transforming C++11 Code to C++03 to Support Legacy Compilation Environments
    Antal, Gabor
    Havas, David
    Siket, Istvan
    Beszedes, Arpad
    Ferenc, Rudolf
    Mihalicza, Jozsef
    [J]. 2016 IEEE 16TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2016, : 177 - 186
  • [22] Hydra: a C++11 framework for data analysis in massively parallel platforms
    Alves Junior, A. A.
    Sokoloff, M. D.
    [J]. 18TH INTERNATIONAL WORKSHOP ON ADVANCED COMPUTING AND ANALYSIS TECHNIQUES IN PHYSICS RESEARCH (ACAT2017), 2018, 1085
  • [23] C++11/14 Mutation Operators Based on Common Fault Patterns
    Parsai, Ali
    Demeyer, Serge
    De Busser, Seph
    [J]. TESTING SOFTWARE AND SYSTEMS (ICTSS 2018), 2018, 11146 : 102 - 118
  • [24] C++11实现可变参数泛型抽象工厂
    闵军
    罗泓
    [J]. 软件工程, 2017, 20 (05) : 18 - 22
  • [25] MolBioLib: a C++11 framework for rapid development and deployment of bioinformatics tasks
    Ohsumi, Toshiro K.
    Borowsky, Mark L.
    [J]. BIOINFORMATICS, 2012, 28 (19) : 2412 - 2416
  • [26] NSTX-U Advances in Real-Time C++11 on Linux
    Erickson, Keith G.
    [J]. IEEE TRANSACTIONS ON NUCLEAR SCIENCE, 2015, 62 (04) : 1758 - 1765
  • [27] Parallelizing High-Frequency Trading Applications by using C++11 Attributes
    Danelutto, Marco
    De Matteis, Tiziano
    Mencagli, Gabriele
    Torquati, Massimo
    [J]. 2015 IEEE TRUSTCOM/BIGDATASE/ISPA, VOL 3, 2015, : 140 - 147
  • [28] C++11 Functional库在编程中的应用技巧
    杨珂
    [J]. 电脑编程技巧与维护, 2018, (07) : 46 - 48
  • [29] A C++11 implementation of arbitrary-rank tensors for high-performance computing
    Aragon, Alejandro M.
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2014, 185 (11) : 3065 - 3066
  • [30] A C++11 implementation of arbitrary-rank tensors for high-performance computing
    Aragon, Alejandro M.
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2014, 185 (06) : 1681 - 1696