diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-05 15:50:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-05 15:50:06 +0200 |
commit | 2b856f69d490f6cedffac03ecbed8fef318ecc43 (patch) | |
tree | 0876ef0d3539bb313a9dd66659e805e6980399aa /odb/details/config.hxx | |
parent | 20daa3c4285c91dfcd35361f6550f80315e008a5 (diff) |
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.
Diffstat (limited to 'odb/details/config.hxx')
-rw-r--r-- | odb/details/config.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/details/config.hxx b/odb/details/config.hxx index 36a8e3a..ddba5b7 100644 --- a/odb/details/config.hxx +++ b/odb/details/config.hxx @@ -20,6 +20,8 @@ # define ODB_CXX11_DELETED_FUNCTION # define ODB_CXX11_EXPLICIT_CONVERSION_OPERATOR # define ODB_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGUMENT +# define ODB_CXX11_VARIADIC_TEMPLATE +# define ODB_CXX11_INITIALIZER_LIST # endif #else # include <odb/details/config.h> @@ -35,6 +37,8 @@ # define ODB_CXX11_DELETED_FUNCTION # define ODB_CXX11_EXPLICIT_CONVERSION_OPERATOR # define ODB_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGUMENT +# define ODB_CXX11_VARIADIC_TEMPLATE +# define ODB_CXX11_INITIALIZER_LIST # endif #endif |