Loading...
Please wait, while we are loading the content...
Similar Documents
SimpleConcepts: Support for Constraints on Generic Types in C++
| Content Provider | CiteSeerX |
|---|---|
| Author | Milewicz, Reed Mernik, Marjan Pirkelbauer, Peter |
| Abstract | 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. |
| File Format | |
| Access Restriction | Open |
| Subject Keyword | Generic Type Simpleconcepts Feature Island Grammar Essential Role Abstract Generic Early Support Source-to-source Translation Template Library Committee Process |
| Content Type | Text |
| Resource Type | Article |