DocumentCode :
1872698
Title :
SimpleConcepts: Support for constraints on generic types in C++
Author :
Milewicz, Reed ; Mernik, Marjan ; Pirkelbauer, Peter
Author_Institution :
Univ. of Alabama at Birmingham, Birmingham, AL, USA
fYear :
2013
fDate :
8-11 Sept. 2013
Firstpage :
1535
Lastpage :
1540
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.
Keywords :
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; Abstracts; Grammar; Libraries; Programming; Proposals; Semantics; Syntactics; C++ Concepts; C++ Templates; Generic Programming;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Science and Information Systems (FedCSIS), 2013 Federated Conference on
Conference_Location :
Krako??w
Type :
conf
Filename :
6644220
Link To Document :
بازگشت