From 18ef14486e46064f4317ab407c5fe0afa3209d4b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 4 Aug 2011 13:29:43 +0200 Subject: Add support for value wrappers Wrapper is a class that wraps another type. Examples of wrappers are various smart pointers, holders, etc. A wrapper can be transparent or it can handle the NULL semantics. The new odb::nullable class template is a NULL wrapper that helps to add the NULL semantics to a value type. New test: common/wrapper. --- common/makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/makefile') diff --git a/common/makefile b/common/makefile index a27d212..522cc4c 100644 --- a/common/makefile +++ b/common/makefile @@ -21,7 +21,8 @@ lifecycle \ query \ relationship \ schema \ -template +template \ +wrapper thread_tests := threads -- cgit v1.1