diff options
Diffstat (limited to 'odb/semantics/class.cxx')
-rw-r--r-- | odb/semantics/class.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/semantics/class.cxx b/odb/semantics/class.cxx index 6d1621a..05122e3 100644 --- a/odb/semantics/class.cxx +++ b/odb/semantics/class.cxx @@ -28,6 +28,18 @@ namespace semantics return TYPE_HAS_DEFAULT_CONSTRUCTOR (tree_node ()); } + bool class_:: + complete () const + { + return COMPLETE_TYPE_P (tree_node ()); + } + + bool class_:: + abstract () const + { + return CLASSTYPE_PURE_VIRTUALS (tree_node ()); + } + // type info // namespace |