summaryrefslogtreecommitdiff
path: root/xsd/doc/pregenerated/xsd.1
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-09-05 15:20:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-09-06 11:44:16 +0300
commit28f737a15d9ce5d9e8b06ab768ef858c07ae510e (patch)
tree7523a801d1326a6e8ba0646d8d4b927f1eaa608b /xsd/doc/pregenerated/xsd.1
parent0c40310afde1d595697d0edfb3b174a9738605cf (diff)
Make c++11 value default for xsd --std option
Also add support for c++14, c++17, c++20, and c++23 values and drop passing --std option in tests and examples.
Diffstat (limited to 'xsd/doc/pregenerated/xsd.1')
-rw-r--r--xsd/doc/pregenerated/xsd.122
1 files changed, 16 insertions, 6 deletions
diff --git a/xsd/doc/pregenerated/xsd.1 b/xsd/doc/pregenerated/xsd.1
index 7d2727f..0cf4f6f 100644
--- a/xsd/doc/pregenerated/xsd.1
+++ b/xsd/doc/pregenerated/xsd.1
@@ -119,12 +119,15 @@ if any, should appear after the corresponding
.
.IP "\fB--std\fR \fIversion\fR"
Specify the C++ standard that the generated code should conform to\. Valid
-values are \fBc++98\fR (default) and \fBc++11\fR\.
+values are \fBc++98\fR, \fBc++11\fR (default), \fBc++14\fR, \fBc++17\fR,
+\fBc++20\fR, and \fBc++23\fR\.
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 \fBstd::unique_ptr\fR instead of deprecated \fBstd::auto_ptr\fR\.
+Currently, there is no difference between the C++11 and the later standards
+modes\.
When the C++11 mode is selected, you normally don't need to perform any extra
steps other than enable C++11 in your C++ compiler, if required\. The XSD
@@ -1292,7 +1295,6 @@ namespace http://www.example.com/xmlns/my
.br
.RE
-
The compiler has a number of predefined mapping rules that can be
presented as the following map files. The string-based XML Schema
built-in types are mapped to either
@@ -1303,6 +1305,14 @@ depending on the character type selected with the
.B --char-type
option
.RB ( char
+by default). The binary XML Schema types are mapped to either
+.B std::unique_ptr<xml_schema::buffer>
+or
+.B std::auto_ptr<xml_schema::buffer>
+depending on the C++ standard selected with the
+.B --std
+option
+.RB ( c++11
by default).
.RS
@@ -1382,13 +1392,13 @@ namespace http://www.w3.org/2001/XMLSchema
QName xml_schema::qname;
.br
- base64Binary std::auto_ptr<xml_schema::buffer>
+ base64Binary std::[unique|auto]_ptr<xml_schema::buffer>
.br
- std::auto_ptr<xml_schema::buffer>;
+ std::[unique|auto]_ptr<xml_schema::buffer>;
.br
- hexBinary std::auto_ptr<xml_schema::buffer>
+ hexBinary std::[unique|auto]_ptr<xml_schema::buffer>
.br
- std::auto_ptr<xml_schema::buffer>;
+ std::[unique|auto]_ptr<xml_schema::buffer>;
.br
date xml_schema::date;