diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-28 14:15:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-28 14:15:45 +0200 |
commit | a007b0a02adf04fdfe84a6169b03596fca490131 (patch) | |
tree | a6246320bc1c1a83ff9f740691358495df45f1d7 /NEWS | |
parent | 475a7c89e1c858ae8fec466670af4628129a42d4 (diff) |
Document wrapper support for composite values and containers
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -16,16 +16,18 @@ Version 1.6.0 the ODB manual. * Support for value wrappers. An ODB value wrapper is a class template - that wraps a value type. Common examples of wrappers are smart pointers, - holders, and "optional value" containers such as boost::optional. A - wrapper can be transparent or it can handle the NULL semantics. To - allow the easy conversion of value types that do not support the NULL - semantics into the ones that do, the odb::nullable class template has - been added. ODB also now includes built-in support for std::auto_ptr - and std::tr1::shared_ptr smart pointers as value wrappers as well as - for boost::shared_ptr and QSharedPointer via the Boost and Qt profiles. - For more information, refer to Section 7.3, "NULL Value Semantics" in - the ODB manual. + that wraps a value type or a container. Common examples of wrappers + are smart pointers, holders, and "optional value" containers such as + boost::optional. A wrapper can be transparent or it can handle the + NULL semantics. To allow the easy conversion of value types that do + not support the NULL semantics into the ones that do, the odb::nullable + class template has been added. ODB also now includes built-in support for + std::auto_ptr and std::tr1::shared_ptr smart pointers as value wrappers + as well as for boost::shared_ptr and QSharedPointer via the Boost and Qt + profiles. Currently, the NULL semantics is only supported for simple + values but smart pointers can still be used with composite values and + containers. For more information, refer to Section 7.3, "NULL Value + Semantics" in the ODB manual. * Support for the boost::optional container in the Boost profile. A data member of the boost::optional type is mapped to a column that can have |