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). --- cli/options.ixx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cli/options.ixx') diff --git a/cli/options.ixx b/cli/options.ixx index 3adfbd0..1d61ecb 100644 --- a/cli/options.ixx +++ b/cli/options.ixx @@ -247,6 +247,18 @@ output_dir_specified () const return this->output_dir_specified_; } +inline const cxx_version& options:: +std () const +{ + return this->std_; +} + +inline bool options:: +std_specified () const +{ + return this->std_specified_; +} + inline const bool& options:: generate_modifier () const { -- cgit v1.1