From 823026b58211a4166de06ac243d978dcb9930271 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 22 Jan 2024 15:58:08 +0300 Subject: Turn odb repository into muti-package repository Also remove the autoconf/make-based build system. --- odb/semantics/class-template.hxx | 68 ---------------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 odb/semantics/class-template.hxx (limited to 'odb/semantics/class-template.hxx') 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 -#include -#include - -namespace semantics -{ - class class_template: public type_template, public scope - { - private: - typedef std::vector inherits_list; - - public: - typedef pointer_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 -- cgit v1.1