Cargando…

Preparing for the new C++11 standard

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 wi...

Descripción completa

Detalles Bibliográficos
Autor principal: Naumann, Axel
Lenguaje:eng
Publicado: 2012
Materias:
Acceso en línea:https://dx.doi.org/10.1088/1742-6596/396/5/052056
http://cds.cern.ch/record/1515977
_version_ 1780928426834657280
author Naumann, Axel
author_facet Naumann, Axel
author_sort Naumann, Axel
collection CERN
description 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.
id cern-1515977
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2012
record_format invenio
spelling cern-15159772022-08-17T13:24:46Zdoi:10.1088/1742-6596/396/5/052056http://cds.cern.ch/record/1515977engNaumann, AxelPreparing for the new C++11 standardComputing and ComputersC++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.oai:cds.cern.ch:15159772012
spellingShingle Computing and Computers
Naumann, Axel
Preparing for the new C++11 standard
title Preparing for the new C++11 standard
title_full Preparing for the new C++11 standard
title_fullStr Preparing for the new C++11 standard
title_full_unstemmed Preparing for the new C++11 standard
title_short Preparing for the new C++11 standard
title_sort preparing for the new c++11 standard
topic Computing and Computers
url https://dx.doi.org/10.1088/1742-6596/396/5/052056
http://cds.cern.ch/record/1515977
work_keys_str_mv AT naumannaxel preparingforthenewc11standard