diff options
Diffstat (limited to 'modules/CIAO/CCF/CCF/CompilerElements/Introspection.cpp')
-rw-r--r-- | modules/CIAO/CCF/CCF/CompilerElements/Introspection.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/CIAO/CCF/CCF/CompilerElements/Introspection.cpp b/modules/CIAO/CCF/CCF/CompilerElements/Introspection.cpp new file mode 100644 index 00000000000..9e625e0272a --- /dev/null +++ b/modules/CIAO/CCF/CCF/CompilerElements/Introspection.cpp @@ -0,0 +1,26 @@ +// file : CCF/CompilerElements/Introspection.cpp +// author : Boris Kolpackov <boris@dre.vanderbilt.edu> +// cvs-id : $Id$ + +// +// This is a hack to avoid link dependency on Utility library. +// + +#include "Utility/Introspection/Object.hpp" + +namespace Utility +{ + namespace Introspection + { + namespace + { + TypeInfo object_ (typeid (Object)); + } + + TypeInfo const& Object:: + static_type_info () throw () + { + return object_; + } + } +} |