From 4443c9284e35c070478045b4e5963c64cd108e42 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 5 Feb 2013 15:50:07 +0200 Subject: Add support for change-tracking containers ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking. --- odb/pgsql/forward.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'odb/pgsql/forward.hxx') diff --git a/odb/pgsql/forward.hxx b/odb/pgsql/forward.hxx index d028f4d..7799d1d 100644 --- a/odb/pgsql/forward.hxx +++ b/odb/pgsql/forward.hxx @@ -67,6 +67,9 @@ namespace odb template class container_statements; + template + class smart_container_statements; + class query_base; } -- cgit v1.1