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/context.ixx | |
parent | b56b9c6796d8853758f0f5967488260d61b788e2 (diff) |
Turn odb repository into muti-package repository
Also remove the autoconf/make-based build system.
Diffstat (limited to 'odb/context.ixx')
-rw-r--r-- | odb/context.ixx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/odb/context.ixx b/odb/context.ixx deleted file mode 100644 index 5018743..0000000 --- a/odb/context.ixx +++ /dev/null @@ -1,26 +0,0 @@ -// file : odb/context.ixx -// license : GNU GPL v3; see accompanying LICENSE file - -inline bool user_section:: -load_empty () const -{ - return !separate_load () || (total == 0 && !containers && !optimistic ()); -} - -inline bool user_section:: -update_empty () const -{ - return total == inverse + readonly && !readwrite_containers; -} - -inline bool user_section:: -optimistic () const -{ - if (!context::optimistic (*object)) - return false; - else - { - semantics::class_* poly_root (context::polymorphic (*object)); - return poly_root == 0 || poly_root == object; - } -} |