| | SLO | ENG | Cookies and privacy

Bigger font | Smaller font

Show document Help

Title:SimpleConcepts: a lightweight extension to C++ to support constraints on generic types
Authors:ID Milewicz, Reed (Author)
ID Mernik, Marjan (Author)
ID Pirkelbauer, Peter (Author)
Files:.pdf Computer_Science_and_Information_Systems_2014_Milewicz,_Mernik,_Pirkelbauer_SimpleConcepts_A_lightweight_extension_to_C_to_support_const.pdf (299,20 KB)
MD5: 054183FB6A0EDDB2B33B7B924A7F757A
PID: 20.500.12556/dkum/37446ce9-5e25-4ce4-89bf-6d3241107ecb
 
URL http://www.doiserbia.nb.rs/Article.aspx?ID=1820-02141400053M
 
Language:English
Work type:Scientific work
Typology:1.01 - Original Scientific Article
Organization:FERI - Faculty of Electrical Engineering and Computer Science
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:generic programming, C++ templates, C++ concepts
Publication status:Published
Publication version:Version of Record
Year of publishing:2014
Number of pages:str. 1361-1379
Numbering:Letn. 11, št. 4
PID:20.500.12556/DKUM-66725 New window
ISSN:1820-0214
UDC:004.434
ISSN on article:1820-0214
COBISS.SI-ID:17971222 New window
DOI:10.2298/CSIS131209053M New window
NUK URN:URN:SI:UM:DK:U9OKUQOL
Publication date in DKUM:06.07.2017
Views:1191
Downloads:381
Metadata:XML DC-XML DC-RDF
Categories:Misc.
:
MILEWICZ, Reed, MERNIK, Marjan and PIRKELBAUER, Peter, 2014, SimpleConcepts: a lightweight extension to C++ to support constraints on generic types. Computer Science and Information Systems [online]. 2014. Vol. 11, no. 4, p. 1361–1379. [Accessed 23 April 2025]. DOI 10.2298/CSIS131209053M. Retrieved from: https://dk.um.si/IzpisGradiva.php?lang=eng&id=66725
Copy citation
  
Average score:
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
(0 votes)
Your score:Voting is allowed only for logged in users.
Share:Bookmark and Share


Searching for similar works...Please wait....
Hover the mouse pointer over a document title to show the abstract or click on the title to get all document metadata.

Record is a part of a journal

Title:Computer Science and Information Systems
Shortened title:Comput. Sci. Inf. Syst.
Publisher:ComSIS Consortium
ISSN:1820-0214
COBISS.SI-ID:20527655 New window

Licences

License:CC BY-NC-ND 4.0, Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International
Link:http://creativecommons.org/licenses/by-nc-nd/4.0/
Description:The most restrictive Creative Commons license. This only allows people to download and share the work for no commercial gain and for no other purposes.
Licensing start date:06.07.2017

Secondary language

Language:Slovenian
Keywords:generično programiranje, predloge C++, koncepti C++


Comments

Leave comment

You must log in to leave a comment.

Comments (0)
0 - 0 / 0
 
There are no comments!

Back
Logos of partners University of Maribor University of Ljubljana University of Primorska University of Nova Gorica