1 # Copyright 2017 Rene Rivera
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE_1_0.txt or copy at
4 # http://www.boost.org/LICENSE_1_0.txt)
10 [[bbv2.builtin.features.cxxstd]]`cxxstd`::
11 *Allowed values*: `98`, `03`, `0x`, `11`, `1y`, `14`, `1z`, `17`, `2a`,
14 Specifies the version of the C++ Standard Language to build with. All the
15 official versions of the standard since "98" are included. It is also possible
16 to specify using the experimental, work in progress, `latest` version. Some
17 compilers specified intermediate versions for the experimental versions leading
18 up to the released standard version. Those are included following the GNU
19 nomenclature as `0x`, `1y`, `1z`, and `2a`. Depending on the compiler `latest`
20 would map to one of those.
22 NOTE: This is an `optional` feature. Hence when not specified the compiler
23 default behaviour is used.
25 NOTE: Please consult the toolset specific documentation for which `cxxstd`
30 feature.feature cxxstd
31 : 98 03 0x 11 1y 14 1z 17 2a latest
32 : optional composite propagated ;
36 [[bbv2.builtin.features.cxxstd-dialect]]`cxxstd-dialect`::
37 *Subfeature of* `cxxstd`
39 *Allowed values*: `iso`, `gnu`, `ms`.
41 Indicates if a non-standard dialect should be used. These usually have
42 either/or extensions or platform specific functionality. Not specifying the
43 dialect will default to 'iso' which will attempt to use ISO C++ Standard
44 conformance to the best of the compiler's ability.
48 feature.subfeature cxxstd : dialect
50 : composite propagated ;