Portable reflection for C++ with the Mirror library
|
Title | Portable reflection for C++ with the Mirror library |
Authors | |
Abstract | Reflection and reflective programming can be used for a wide range of tasks such as implementationof serialization-like operations, remote procedure calls, scripting, automated GUIgeneration,implementation of several software design patterns, etc. C++ as one of the mostprevalent programming languages however, for various reasons, lacks a standardized reflectionfacility. In this paper we present Mirror - a portable library adding reflection to C++ with acommand-line utility automating its usage. This library supports functional style static compiletimereflection and metaprogramming and also provides two different object-oriented run-timepolymorphic layers for dynamic reflection. |
Publisher | University o Zagreb, Faculty of Organization and Informatics, Varaždin |
Date | 2012-06-30 |
Source | Journal of Information and Organizational Sciences Vol 36, No 1 (2012) |