diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-08-31 10:03:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-08-31 10:03:45 +0200 |
commit | c0957cfe1c73ecb6c96314e45e7d29b4199b20d6 (patch) | |
tree | 96a747f7196baa335cf83ff160527bb8333ca9e3 /odb/semantics/class.hxx | |
parent | ed52acc5e65dd9ea2fb2d9c851c2faa61d5cb2d9 (diff) |
Add support for virtual data members
New test: common/virtual.
Diffstat (limited to 'odb/semantics/class.hxx')
-rw-r--r-- | odb/semantics/class.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/odb/semantics/class.hxx b/odb/semantics/class.hxx index b9f8f34..dc30da2 100644 --- a/odb/semantics/class.hxx +++ b/odb/semantics/class.hxx @@ -97,6 +97,19 @@ namespace semantics abstract () const; public: + // When doing lookup in class scope, take into account bases. + // + static unsigned int const exclude_base = 0x04; // Exclude base classes. + + virtual names* + lookup (string const& name, + type_id const&, + unsigned int flags = 0, + bool* hidden = 0) const; + + using scope::lookup; + + public: class_ (path const&, size_t line, size_t column, tree); void |