diff options
Diffstat (limited to 'odb/semantics/namespace.hxx')
-rw-r--r-- | odb/semantics/namespace.hxx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/odb/semantics/namespace.hxx b/odb/semantics/namespace.hxx new file mode 100644 index 0000000..b6a673c --- /dev/null +++ b/odb/semantics/namespace.hxx @@ -0,0 +1,31 @@ +// file : odb/semantics/namespace.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_SEMANTICS_NAMESPACE_HXX +#define ODB_SEMANTICS_NAMESPACE_HXX + +#include <semantics/elements.hxx> + +namespace semantics +{ + class namespace_: public scope + { + public: + namespace_ (path const& file, size_t line, size_t column) + : node (file, line, column) + { + } + + namespace_ () + { + } + + // Resolve conflict between scope::scope and nameable::scope. + // + using nameable::scope; + }; +} + +#endif // ODB_SEMANTICS_NAMESPACE_HXX |