Skip to main navigation Skip to search Skip to main content

On Typesafe Aspect Implementations in C++

  • Daniel Lohmann*
  • , Olaf Spinczyk
  • *Corresponding author for this work

Research output: Chapter in book/report/conference proceedingConference contributionResearchpeer review

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.

Original languageEnglish
Title of host publicationSoftware Composition
Pages135-149
Number of pages15
DOIs
Publication statusPublished - 2005
Externally publishedYes
Event4th International Workshop on Software Composition,SC 2005 - Edinburgh, United Kingdom (UK)
Duration: 9 Apr 2005 → …

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume3628 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference4th International Workshop on Software Composition,SC 2005
Country/TerritoryUnited Kingdom (UK)
CityEdinburgh
Period9 Apr 2005 → …

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Cite this