]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/src/tools/features/cxxstd-feature.jam
update sources to v12.2.3
[ceph.git] / ceph / src / boost / tools / build / src / tools / features / cxxstd-feature.jam
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)
5
6 import feature ;
7
8 # The `cxxstd` feature specifies the version of the C++ Standard Language to
9 # build with. All the official versions of the standard since "98" are
10 # included: `98`, `03`, `11`, `14`, and `17`. It is also possible to
11 # specify using the experimental, work in progress, `latest` version. Some
12 # compilers specified intermediate versions for the experimental versions
13 # leading up to the released standard version. Those are included following
14 # the GNU nomenclature as `0x`, `1y`, `1z`, and `2a`. And depending on the
15 # compiler `latest` would map to one of those.
16 #
17 # NOTE: This is an `optional` feature. Hence when not specified the compiler
18 # default behaviour is used.
19 #
20 # NOTE: Please consult the toolset specific documentation for which `cxxstd`
21 # is supported.
22
23 feature.feature cxxstd
24 : 98 03 0x 11 1y 14 1z 17 2a latest
25 : optional composite propagated ;
26
27 # The cxxstd:dialet subfeature indicates if a non-standard dialect should be
28 # used. These usually have either/or extensions or platform specific
29 # functionality. Not specifying the dialect will default to 'iso'. Which will
30 # attempt to use ISO C++ Standard conformance to the best of the compiler's
31 # ability.
32
33 feature.subfeature cxxstd : dialect
34 : iso gnu ms
35 : composite propagated ;