diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-22 15:58:08 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-24 17:02:47 +0300 |
commit | 823026b58211a4166de06ac243d978dcb9930271 (patch) | |
tree | 97b43039cb769f8bee410e8536f9f945f2825153 /odb/semantics/class-template.hxx | |
parent | b56b9c6796d8853758f0f5967488260d61b788e2 (diff) |
Turn odb repository into muti-package repository
Also remove the autoconf/make-based build system.
Diffstat (limited to 'odb/semantics/class-template.hxx')
-rw-r--r-- | odb/semantics/class-template.hxx | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/odb/semantics/class-template.hxx b/odb/semantics/class-template.hxx deleted file mode 100644 index bffb3f2..0000000 --- a/odb/semantics/class-template.hxx +++ /dev/null @@ -1,68 +0,0 @@ -// file : odb/semantics/class-template.hxx -// license : GNU GPL v3; see accompanying LICENSE file - -#ifndef ODB_SEMANTICS_CLASS_TEMPLATE_HXX -#define ODB_SEMANTICS_CLASS_TEMPLATE_HXX - -#include <odb/semantics/elements.hxx> -#include <odb/semantics/class.hxx> -#include <odb/semantics/template.hxx> - -namespace semantics -{ - class class_template: public type_template, public scope - { - private: - typedef std::vector<inherits*> inherits_list; - - public: - typedef pointer_iterator<inherits_list::const_iterator> inherits_iterator; - - inherits_iterator - inherits_begin () const - { - return inherits_.begin (); - } - - inherits_iterator - inherits_end () const - { - return inherits_.end (); - } - - public: - class_template (path const&, size_t line, size_t column, tree); - - void - add_edge_left (inherits& e) - { - inherits_.push_back (&e); - } - - void - add_edge_right (inherits&) - { - } - - using scope::add_edge_left; - using scope::add_edge_right; - - // Resolve conflict between scope::scope and nameable::scope. - // - using nameable::scope; - - private: - inherits_list inherits_; - }; - - class class_instantiation: public class_, public type_instantiation - { - public: - class_instantiation (path const&, size_t line, size_t column, tree); - - using class_::add_edge_left; - using type_instantiation::add_edge_left; - }; -} - -#endif // ODB_SEMANTICS_CLASS_TEMPLATE_HXX |