Added support for iterating over diagram elements from inja templates (fixes #54)

This commit is contained in:
Bartek Kryza
2022-09-15 23:36:29 +02:00
parent 693a09e20d
commit 17db587426
20 changed files with 115 additions and 20 deletions

View File

@@ -34,6 +34,8 @@ public:
enum_ &operator=(const enum_ &) = delete;
enum_ &operator=(enum_ &&) = delete;
std::string type_name() const override { return "enum"; }
// TODO: Do we need this?
friend bool operator==(const enum_ &l, const enum_ &r);