From 9bf40e4a91f6a792c3279d9184b67451cf58bf49 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 9 Dec 2015 18:02:40 +0200 Subject: Add --std option with c++{98,11,14} values; use function-static in C++11 This way we can use option descriptions during static initialization (e.g., of an Apache module). --- doc/cli.1 | 3 +++ doc/cli.xhtml | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/cli.1 b/doc/cli.1 index 57fd6c2..346846a 100644 --- a/doc/cli.1 +++ b/doc/cli.1 @@ -65,6 +65,9 @@ Print version and exit\. Search \fIdir\fR for bracket-included (\fB<>\fR) options files\. .IP "\fB--output-dir\fR|\fB-o\fR \fIdir\fR" Write the generated files to \fIdir\fR instead of the current directory\. +.IP "\fB--std\fR \fIversion\fR" +Specify the C++ standard that should be used during compilation\. Valid values +are \fBc++98\fR (default), \fBc++11\fR, and \fBc++14\fR\. .IP "\fB--generate-modifier\fR" Generate option value modifiers in addition to accessors\. .IP "\fB--generate-specifier\fR" diff --git a/doc/cli.xhtml b/doc/cli.xhtml index 962d53b..88bdebf 100644 --- a/doc/cli.xhtml +++ b/doc/cli.xhtml @@ -85,6 +85,11 @@
Write the generated files to dir instead of the current directory.
+
--std version
+
Specify the C++ standard that should be used during compilation. Valid + values are c++98 (default), c++11, + and c++14.
+
--generate-modifier
Generate option value modifiers in addition to accessors.
-- cgit v1.1