aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-01-19 10:05:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-01-19 10:06:32 +0200
commit0fdf19714613a82a184f4f6e75fb9a4f9b62f18a (patch)
tree93bb2df0f9d9eab44d36dedf29d4df500ecefcbc /NEWS
parent45db924dfc19b49b7930522dbddd123fb9575e32 (diff)
Use std::unique_ptr instead of std::auto_ptr in C++11 mode
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e5d63ba..54a956b 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,13 @@ Version 4.0.0
* New option, --std, specifies the C++ standard that the generated code
should conform to. Valid values are c++98 (default) and c++11.
+ The C++ standard affects various aspects of the generated code that
+ are discussed in more detail in various mapping-specific documentation.
+ Overall, when C++11 is selected, the generated code relies on the move
+ semantics and uses std::unique_ptr instead of deprecated std::auto_ptr.
+ See also the documentation for the --std option in the XSD compiler
+ command line manual (man pages).
+
* New option, --fat-type-file, triggers the generation of code
corresponding to global elements into type files instead of schema
files in the file-per-type mode. This option is primarily useful