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 条
  • [1] C++11 in Parallel
    Hummel, Joseph E.
    [J]. SIGCSE 12: PROCEEDINGS OF THE 43RD ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2011, : 656 - 656
  • [2] Repairing Sequential Consistency in C/C++11
    Lahav, Ori
    Vafeiadis, Viktor
    Kang, Jeehoon
    Hur, Chung-Kil
    Dreyer, Derek
    [J]. ACM SIGPLAN NOTICES, 2017, 52 (06) : 618 - 632
  • [3] An operational semantics for C/C++11 concurrency
    [J]. 2016, Association for Computing Machinery, 2 Penn Plaza, Suite 701, New York, NY 10121-0701, United States (51):
  • [4] An Operational Semantics for C/C++11 Concurrency
    Nienhuis, Kyndylan
    Memarian, Kayvan
    Sewell, Peter
    [J]. ACM SIGPLAN NOTICES, 2016, 51 (10) : 111 - 128
  • [5] Dynamic Race Detection for C++11
    Lidbury, Christopher
    Donaldson, Alastair F.
    [J]. ACM SIGPLAN NOTICES, 2017, 52 (01) : 443 - 457
  • [6] Algebraic Semantics for C++11 Memory Model
    Xiao, Lili
    Zhu, Huibiao
    He, Mengda
    Qin, Shengchao
    [J]. 2022 IEEE 46TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE (COMPSAC 2022), 2022, : 1513 - 1518
  • [7] A Practical Approach for Model Checking C/C++11 Code
    Norris, Brian
    Demsky, Brian
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2016, 38 (03):
  • [8] On the Quality of Implementation of the C++11 Thread Support Library
    Thoman, Peter
    Gschwandtner, Philipp
    Fahringer, Thomas
    [J]. 23RD EUROMICRO INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED, AND NETWORK-BASED PROCESSING (PDP 2015), 2015, : 94 - 98
  • [9] High-level Multicore Programming with C++11
    Szugyi, Zalan
    Torok, Mark
    Pataki, Norbert
    Kozsik, Tamas
    [J]. COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2012, 9 (03) : 1187 - 1202
  • [10] Service Level Objectives via C++11 Attributes
    Griebler, Dalvan
    De Sensi, Daniele
    Vogel, Adriano
    Danelutto, Marco
    Fernandes, Luiz Gustavo
    [J]. EURO-PAR 2018: PARALLEL PROCESSING WORKSHOPS, 2019, 11339 : 745 - 756