Instantiation context aware types in C++
Programming languages usually limit the information available to types. Object oriented languages, such as C++ or Java typically define types as definition context aware, but instantiation context free: types are able to use other types and language constructs declared or defined before their defini...
Elmentve itt :
Szerzők: | |
---|---|
Testületi szerző: | |
Dokumentumtípus: | Könyv része |
Megjelent: |
2018
|
Sorozat: | Conference of PhD Students in Computer Science
11 |
Kulcsszavak: | Programozási nyelv - C++, Programozás, Számítástechnika |
Online Access: | http://acta.bibl.u-szeged.hu/61801 |
Tartalmi kivonat: | Programming languages usually limit the information available to types. Object oriented languages, such as C++ or Java typically define types as definition context aware, but instantiation context free: types are able to use other types and language constructs declared or defined before their definition, but they aren’t aware of where, or in which context they are instantiated. While this is practical in most situations, both for considering the compilation speed and the complexity of the language, it also limits the expressiveness of the language. In this article, we present a way instanation context aware types could be implemented in modern C++, and a few examples where they could be useful. |
---|---|
Terjedelem/Fizikai jellemzők: | 192-194 |