diff options
Diffstat (limited to 'odb/semantics/class.cxx')
-rw-r--r-- | odb/semantics/class.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/odb/semantics/class.cxx b/odb/semantics/class.cxx index 49dbade..6d1621a 100644 --- a/odb/semantics/class.cxx +++ b/odb/semantics/class.cxx @@ -3,6 +3,8 @@ // copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC // license : GNU GPL v3; see accompanying LICENSE file +#include <odb/gcc.hxx> // TYPE_HAS_DEFAULT_CONSTRUCTOR + #include <cutl/compiler/type-info.hxx> #include <odb/semantics/class.hxx> @@ -20,6 +22,12 @@ namespace semantics { } + bool class_:: + default_ctor () const + { + return TYPE_HAS_DEFAULT_CONSTRUCTOR (tree_node ()); + } + // type info // namespace |