From 9d4a4dd3aedc0b30a55e4013b18cdb6439a9b422 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 4 Jul 2013 11:30:43 +0200 Subject: Add --std option that specified C++ standard --- xsd/cxx/options.cli | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'xsd/cxx/options.cli') diff --git a/xsd/cxx/options.cli b/xsd/cxx/options.cli index e1b48e9..2203188 100644 --- a/xsd/cxx/options.cli +++ b/xsd/cxx/options.cli @@ -7,12 +7,23 @@ include ; // std::size_t include ; // NarrowString, NarrowStrings +include ; + include ; namespace CXX { class options: ::options = 0 { + // Language. + // + cxx_version --std = cxx_version::cxx98 + { + "", + "Specify the C++ standard that the generated code should conform to. + Valid values are \cb{c++98} (default) and \cb{c++11}." + }; + // Character type and encoding. // NarrowString --char-type = "char" -- cgit v1.1