On typesafe aspect implementations in c++

  • Authors:
  • Daniel Lohmann;Olaf Spinczyk

  • Affiliations:
  • Friedrich-Alexander-University, Erlangen-Nuremberg, Germany;Friedrich-Alexander-University, Erlangen-Nuremberg, Germany

  • Venue:
  • SC'05 Proceedings of the 4th international conference on Software Composition
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Compared to other languages, the C++ language offers a less powerful runtime type system, but a very powerful static type system. In AspectC++, this is addressed by an extended join-point API that provides static type information at compile-time and type-safe access to join-point-specific context information. In this paper we show, how the use of static type information leads to the development highly generic, but type-safe aspects that fit well into the C++ language model. This is demonstrated by an example.