A feature composition problem and a solution basecl on C++ template metaprogramming

Porkoláb, Z [Porkoláb, Zoltán (Programozási nyel...), szerző] Programozási Nyelvek és Fordítóprogramok Tanszék (ELTE / IK); Zólyomi, I

Angol nyelvű Tudományos Szakcikk (Folyóiratcikk)
Megjelent: LECTURE NOTES IN ARTIFICIAL INTELLIGENCE 0302-9743 4143 LNCS pp. 459-470 2006
    Azonosítók
    Separation of concerns and collaboration based design is usually a suitable concept for library implementation: it results in easily scalable and maintainable code. After specifying and implementing orthogonal features, we aim to easily assemble library components. In real life, components can be used only after appropriate refinement steps, progressively adding features in each step. Therefore the specific solution for a particular task can be produced by composing a set of refined components. Unfortunately, a subtype anomaly occurs in object-oriented languages between such composite components that have different numbers of features from different refinement stages. In this article we analyse this anomaly that we named chevron-shape inheritance and present a framework based on standard C++ template metaprogramming. © Springer-Verlag Berlin Heidelberg 2006.
    Hivatkozás stílusok: IEEEACMAPAChicagoHarvardCSLMásolásNyomtatás
    2021-05-15 13:32