diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-18 10:42:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-18 10:42:41 +0200 |
commit | a9a87afc39f815024b1908473a3ed33a82ddd25e (patch) | |
tree | f823496c9506356fbb8d0adfdc4c416f16d934ba /NEWS | |
parent | 391a4c294e9d9a378c636b7c25e6da027b60d45b (diff) |
Add odb::core namespace to be used in using-directives
Port all the examples and tests.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -1,3 +1,21 @@ +Version 1.2.0 + + * New namespace, odb::core, contains using-declarations for the core ODB + constructs, such as the database, transaction, etc. The primary use of + this namespace is in the using-directives: + + using namespace odb::core; + + The above form should be preferred over the old variant: + + using namespace odb; + + The new approach brings all the essential ODB names into the current + namespace without any of the auxiliary objects such as traits, etc., + which minimizes the likelihood of conflicts with other libraries. + Note that you can still use the odb namespace when qualifying + individual names, for example, odb::database. + Version 1.1.0 * Support for storing containers in the database. For more information refer @@ -29,7 +47,7 @@ Version 1.1.0 profile library. See the ODB compiler command line manual for details. * Support for literal names (template-id, derived type declarator such as - pointers, etc) in data member declarations. Now, for example, you can use + pointers, etc) in data member declarations. Now, for example, you can use std::vector<std::string> directly instead of having to create a typedef alias for it. |