AspectC++

AspectC++ Compiler
Developer(s)Olaf Spinczyk (project leader), Georg Blaschke, Christoph Borchert, Benjamin Kramer, Daniel Lohmann, Horst Schirmeier, Ute Spinczyk, Reinhard Tartler, Matthias Urban
Initial releaseNovember 6, 2001 (2001-11-06)
Stable release
2.4 / January 22, 2025 (2025-01-22)
Written inC++
Operating systemCross-platform
TypeSource-to-source Compiler
LicenseGPL 2+
Websitewww.aspectc.org

AspectC++ is an aspect-oriented extension of C and C++ languages. It has a source-to-source compiler, which translates AspectC++ source code into compilable C++. The compiler is available under the GNU GPL, though some extensions specific to Microsoft Windows are only available through pure-systems GmbH.

Aspect-oriented programming allows modularizing cross-cutting concerns in a single module, an aspect. Aspects can modify existing classes, but most commonly they provide 'advice' that runs before, after, or around existing functionality.