Generic Advice: On the Combination of AOP with Generative Programming in AspectC++

Lohmann D, Spinczyk O (2004)


Publication Type: Conference contribution

Publication year: 2004

Journal

Publisher: Springer-verlag

Edited Volumes: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

Series: Lecture Notes in Computer Science

City/Town: New York

Book Volume: 3286

Pages Range: 55-74

Conference Proceedings Title: Proceedings of the 3rd International Conference on Generative Programming and Component Engineering (GPCE '04)

Event location: Vancouver, Canada CA

URI: http://www4.informatik.uni-erlangen.de/~lohmann/download/GPCE04_Lohmann.pdf

Abstract

Besides object-orientation, generic types or templates and aspect-oriented programming (AOP) gain increasing popularity as they provide additional dimensions of decomposition. Most modern programming languages like Ada, Eiffel, and C++ already have built-in support for templates. For Java and C# similar extensions will be available in the near future. Even though promising, the combination of aspects with generic and generative programming is still a widely unexplored field. This paper presents our extensions to the AspectC++ language, an aspect-oriented C++ derivate. By these extensions aspects can now affect generic code and exploit the potentials of generic code and template metaprogramming in their implementations. This allows aspects to inject template metaprograms transparently into the component code. A case study demonstrates that this feature enables the development of highly expressive and efficient generic aspect implementations in AspectC++. A discussion whether these concepts are applicable in the context of other aspect-oriented language extensions like AspectJ rounds up our contribution. © Springer-Verlag 2004.

Authors with CRIS profile

How to cite

APA:

Lohmann, D., & Spinczyk, O. (2004). Generic Advice: On the Combination of AOP with Generative Programming in AspectC++. In Proceedings of the 3rd International Conference on Generative Programming and Component Engineering (GPCE '04) (pp. 55-74). Vancouver, Canada, CA: New York: Springer-verlag.

MLA:

Lohmann, Daniel, and Olaf Spinczyk. "Generic Advice: On the Combination of AOP with Generative Programming in AspectC++." Proceedings of the Generative Programming and Component Engineering (GPCE '04), Vancouver, Canada New York: Springer-verlag, 2004. 55-74.

BibTeX: Download