aboutsummaryrefslogtreecommitdiff
path: root/boost/common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-07-19 13:42:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-07-19 13:42:18 +0200
commitb038ab0cd6335f3e4ec075d1e21f5d7bb89e3ffb (patch)
treecb79dc28903ba238b180b8687d4cdb2f879afc49 /boost/common
parent533539cd0a445bb38ac574024361552188efa8e6 (diff)
New design for NULL semantics
Now, instead of being specified as part of the SQL type with the type pragma, there are separate null and not_null pragmas. The not_null pragma was used to control NULL-ness of object pointers. Now the two pragmas are used consistently for object pointers and simple values (and in the future will work for composite values and containers).
Diffstat (limited to 'boost/common')
-rw-r--r--boost/common/smart-ptr/test.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/common/smart-ptr/test.hxx b/boost/common/smart-ptr/test.hxx
index ea158e7..575c2e2 100644
--- a/boost/common/smart-ptr/test.hxx
+++ b/boost/common/smart-ptr/test.hxx
@@ -33,7 +33,7 @@ struct cont
typedef std::vector<lazy_weak_ptr<obj> > obj_list;
- #pragma db inverse(c) not_null
+ #pragma db inverse(c) value_not_null
obj_list o;
};