Abstract | ||
---|---|---|
Generic programming plays an essential role in C++ software through the use of templates. However, both the creation and use of template libraries is hindered by the fact that the language does not allow programmers to specify constraints on generic types. To date, no proposal to update the language to provide concepts has survived the committee process. Until that time comes, as a form of early support, this paper introduces SimpleConcepts, an extension to C++11 that provides support for concepts, sets of constraints on generic types. SimpleConcepts features are parsed according to an island grammar and source-to-source translation is used to lower concepts to pure C++11 code. |
Year | Venue | Keywords |
---|---|---|
2013 | Computer Science and Information Systems | C++ language,formal specification,genetic algorithms,C++ software,C++11 code,SimpleConcepts,generic programming,generic types,island grammar,source-to-source translation,template library creation,template library usage,C++ Concepts,C++ Templates,Generic Programming |
Field | DocType | ISSN |
Policy-based design,Programming language,Computer science,stdarg.h,Formal specification,Grammar,Parsing,Template,Generic programming,Standard Template Library | Conference | 2325-0348 |
Citations | PageRank | References |
0 | 0.34 | 2 |
Authors | ||
3 |
Name | Order | Citations | PageRank |
---|---|---|---|
Reed Milewicz | 1 | 0 | 0.34 |
Marjan Mernik | 2 | 3256 | 154.23 |
Peter Pirkelbauer | 3 | 0 | 0.34 |