2013-10-17 13:47:29 +04:00
|
|
|
CMAKE_CXX_KNOWN_FEATURES
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
List of C++ features known to this version of CMake.
|
|
|
|
|
2014-05-02 12:03:24 +04:00
|
|
|
The features listed in this global property may be known to be available to the
|
2013-10-17 13:47:29 +04:00
|
|
|
C++ compiler. If the feature is available with the C++ compiler, it will
|
|
|
|
be listed in the :variable:`CMAKE_CXX_COMPILE_FEATURES` variable.
|
2014-04-02 17:34:16 +04:00
|
|
|
|
2013-10-13 16:25:08 +04:00
|
|
|
The features listed here may be used with the :command:`target_compile_features`
|
2014-03-19 02:50:18 +04:00
|
|
|
command. See the :manual:`cmake-compile-features(7)` manual for information on
|
|
|
|
compile features.
|
|
|
|
|
2013-10-13 16:25:08 +04:00
|
|
|
|
2014-04-02 17:34:16 +04:00
|
|
|
The features known to this version of CMake are:
|
|
|
|
|
2014-05-06 02:21:14 +04:00
|
|
|
``cxx_aggregate_default_initializers``
|
|
|
|
Aggregate default initializers, as defined in N3605_.
|
|
|
|
|
|
|
|
.. _N3605: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3605.html
|
|
|
|
|
2014-04-04 12:50:41 +04:00
|
|
|
``cxx_alias_templates``
|
|
|
|
Template aliases, as defined in N2258_.
|
|
|
|
|
|
|
|
.. _N2258: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2258.pdf
|
|
|
|
|
2014-04-04 15:54:08 +04:00
|
|
|
``cxx_alignas``
|
|
|
|
Alignment control ``alignas``, as defined in N2341_.
|
|
|
|
|
|
|
|
.. _N2341: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf
|
|
|
|
|
2014-04-04 15:55:27 +04:00
|
|
|
``cxx_alignof``
|
|
|
|
Alignment control ``alignof``, as defined in N2341_.
|
|
|
|
|
|
|
|
.. _N2341: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf
|
|
|
|
|
2014-04-04 16:10:17 +04:00
|
|
|
``cxx_attributes``
|
|
|
|
Generic attributes, as defined in N2761_.
|
|
|
|
|
|
|
|
.. _N2761: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf
|
|
|
|
|
2014-05-06 02:21:14 +04:00
|
|
|
``cxx_attribute_deprecated``
|
|
|
|
``[[deprecated]]`` attribute, as defined in N3760_.
|
|
|
|
|
|
|
|
.. _N3760: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3760.html
|
|
|
|
|
2014-04-02 17:34:16 +04:00
|
|
|
``cxx_auto_type``
|
|
|
|
Automatic type deduction, as defined in N1984_.
|
|
|
|
|
|
|
|
.. _N1984: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1984.pdf
|
2014-04-07 19:28:55 +04:00
|
|
|
|
2014-05-06 02:21:14 +04:00
|
|
|
``cxx_binary_literals``
|
|
|
|
Binary literals, as defined in N3472_.
|
|
|
|
|
|
|
|
.. _N3472: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3472.pdf
|
|
|
|
|
2014-03-18 15:53:01 +04:00
|
|
|
``cxx_constexpr``
|
|
|
|
Constant expressions, as defined in N2235_.
|
|
|
|
|
|
|
|
.. _N2235: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf
|
|
|
|
|
2014-05-06 02:21:14 +04:00
|
|
|
``cxx_contextual_conversions``
|
|
|
|
Contextual conversions, as defined in N3323_.
|
|
|
|
|
|
|
|
.. _N3323: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3323.pdf
|
|
|
|
|
2014-04-06 12:17:15 +04:00
|
|
|
``cxx_decltype_incomplete_return_types``
|
|
|
|
Decltype on incomplete return types, as defined in N3276_.
|
|
|
|
|
|
|
|
.. _N3276 : http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3276.pdf
|
|
|
|
|
2014-04-03 02:08:49 +04:00
|
|
|
``cxx_decltype``
|
|
|
|
Decltype, as defined in N2343_.
|
|
|
|
|
|
|
|
.. _N2343: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2343.pdf
|
|
|
|
|
2014-05-06 02:21:14 +04:00
|
|
|
``cxx_decltype_auto``
|
|
|
|
``decltype(auto)`` semantics, as defined in N3638_.
|
|
|
|
|
|
|
|
.. _N3638: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3638.html
|
|
|
|
|
2014-04-06 12:41:01 +04:00
|
|
|
``cxx_default_function_template_args``
|
|
|
|
Default template arguments for function templates, as defined in DR226_
|
|
|
|
|
|
|
|
.. _DR226: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#226
|
|
|
|
|
2014-04-03 02:12:02 +04:00
|
|
|
``cxx_defaulted_functions``
|
|
|
|
Defaulted functions, as defined in N2346_.
|
|
|
|
|
|
|
|
.. _N2346: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm
|
|
|
|
|
2014-04-06 13:22:49 +04:00
|
|
|
``cxx_defaulted_move_initializers``
|
|
|
|
Defaulted move initializers, as defined in N3053_.
|
|
|
|
|
|
|
|
.. _N3053: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3053.html
|
|
|
|
|
2014-04-07 19:28:55 +04:00
|
|
|
``cxx_delegating_constructors``
|
|
|
|
Delegating constructors, as defined in N1986_.
|
|
|
|
|
|
|
|
.. _N1986: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1986.pdf
|
2014-04-02 17:02:41 +04:00
|
|
|
|
2014-04-03 02:15:53 +04:00
|
|
|
``cxx_deleted_functions``
|
2014-05-07 18:31:16 +04:00
|
|
|
Deleted functions, as defined in N2346_.
|
2014-04-03 02:15:53 +04:00
|
|
|
|
|
|
|
.. _N2346: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm
|
|
|
|
|
2014-05-06 02:21:14 +04:00
|
|
|
``cxx_digit_separators``
|
|
|
|
Digit separators, as defined in N3781_.
|
|
|
|
|
|
|
|
.. _N3781: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3781.pdf
|
|
|
|
|
2014-04-06 12:37:08 +04:00
|
|
|
``cxx_enum_forward_declarations``
|
|
|
|
Enum forward declarations, as defined in N2764_.
|
|
|
|
|
|
|
|
.. _N2764: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2764.pdf
|
|
|
|
|
2014-04-03 21:12:26 +04:00
|
|
|
``cxx_explicit_conversions``
|
|
|
|
Explicit conversion operators, as defined in N2437_.
|
|
|
|
|
|
|
|
.. _N2437: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf
|
|
|
|
|
2014-04-06 12:37:52 +04:00
|
|
|
``cxx_extended_friend_declarations``
|
|
|
|
Extended friend declarations, as defined in N1791_.
|
|
|
|
|
|
|
|
.. _N1791: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1791.pdf
|
|
|
|
|
2014-04-04 15:11:37 +04:00
|
|
|
``cxx_extern_templates``
|
|
|
|
Extern templates, as defined in N1987_.
|
|
|
|
|
|
|
|
.. _N1987: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1987.htm
|
|
|
|
|
2014-03-19 02:42:05 +04:00
|
|
|
``cxx_final``
|
|
|
|
Override control ``final`` keyword, as defined in N2928_.
|
|
|
|
|
|
|
|
.. _N2928: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2928.htm
|
|
|
|
|
2014-04-06 12:52:38 +04:00
|
|
|
``cxx_func_identifier``
|
|
|
|
Predefined ``__func__`` identifier, as defined in N2340_.
|
|
|
|
|
|
|
|
.. _N2340: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2340.htm
|
|
|
|
|
2014-04-04 16:52:48 +04:00
|
|
|
``cxx_generalized_initializers``
|
|
|
|
Initializer lists, as defined in N2672_.
|
|
|
|
|
|
|
|
.. _N2672: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm
|
|
|
|
|
2014-05-06 02:21:14 +04:00
|
|
|
``cxx_generic_lambdas``
|
|
|
|
Generic lambdas, ss defined in N3649_.
|
|
|
|
|
|
|
|
.. _N3649: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3649.html
|
|
|
|
|
2014-04-03 21:18:01 +04:00
|
|
|
``cxx_inheriting_constructors``
|
|
|
|
Inheriting constructors, as defined in N2540_.
|
|
|
|
|
|
|
|
.. _N2540: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2540.htm
|
|
|
|
|
2014-04-06 12:07:19 +04:00
|
|
|
``cxx_inline_namespaces``
|
|
|
|
Inline namespaces, as defined in N2535_.
|
|
|
|
|
|
|
|
.. _N2535: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2535.htm
|
|
|
|
|
2014-04-03 21:23:40 +04:00
|
|
|
``cxx_lambdas``
|
|
|
|
Lambda functions, as defined in N2927_.
|
|
|
|
|
|
|
|
.. _N2927: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2927.pdf
|
|
|
|
|
2014-05-06 02:21:14 +04:00
|
|
|
``cxx_lambda_init_captures``
|
|
|
|
Initialized lambda captures, as defined in N3648_.
|
|
|
|
|
|
|
|
.. _N3648: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3648.html
|
|
|
|
|
2014-04-06 12:38:50 +04:00
|
|
|
``cxx_local_type_template_args``
|
|
|
|
Local and unnamed types as template arguments, as defined in N2657_.
|
|
|
|
|
|
|
|
.. _N2657: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm
|
|
|
|
|
2014-04-06 13:14:42 +04:00
|
|
|
``cxx_long_long_type``
|
|
|
|
``long long`` type, as defined in N1811_.
|
|
|
|
|
|
|
|
.. _N1811: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1811.pdf
|
|
|
|
|
2014-04-03 21:32:06 +04:00
|
|
|
``cxx_noexcept``
|
|
|
|
Exception specifications, as defined in N3050_.
|
|
|
|
|
|
|
|
.. _N3050: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html
|
|
|
|
|
2014-04-03 21:29:17 +04:00
|
|
|
``cxx_nonstatic_member_init``
|
|
|
|
Non-static data member initialization, as defined in N2756.
|
|
|
|
|
|
|
|
.. _N2756: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2756.htm
|
|
|
|
|
2014-04-03 21:34:47 +04:00
|
|
|
``cxx_nullptr``
|
|
|
|
Null pointer, as defined in N2431_.
|
|
|
|
|
|
|
|
.. _N2431: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf
|
|
|
|
|
2014-03-19 16:32:59 +04:00
|
|
|
``cxx_override``
|
|
|
|
Override control ``override`` keyword, as defined in N2928_.
|
|
|
|
|
|
|
|
.. _N2928: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2928.htm
|
|
|
|
|
2014-04-03 21:40:06 +04:00
|
|
|
``cxx_range_for``
|
|
|
|
Range-based for, as defined in N2930_.
|
|
|
|
|
|
|
|
.. _N2930: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2930.html
|
|
|
|
|
2014-04-04 11:15:18 +04:00
|
|
|
``cxx_raw_string_literals``
|
|
|
|
Raw string literals, as defined in N2442_.
|
|
|
|
|
|
|
|
.. _N2442: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm
|
|
|
|
|
2014-04-04 11:25:46 +04:00
|
|
|
``cxx_reference_qualified_functions``
|
|
|
|
Reference qualified functions, as defined in N2439_.
|
|
|
|
|
|
|
|
.. _N2439: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2439.htm
|
|
|
|
|
2014-05-06 02:21:14 +04:00
|
|
|
``cxx_relaxed_constexpr``
|
|
|
|
Relaxed constexpr, as defined in N3652_.
|
|
|
|
|
|
|
|
.. _N3652: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3652.html
|
|
|
|
|
|
|
|
``cxx_return_type_deduction``
|
|
|
|
Return type deduction on normal functions, as defined in N3386_.
|
|
|
|
|
|
|
|
.. _N3386: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3386.html
|
|
|
|
|
2014-04-06 12:17:20 +04:00
|
|
|
``cxx_right_angle_brackets``
|
|
|
|
Right angle bracket parsing, as defined in N1757_.
|
|
|
|
|
|
|
|
.. _N1757: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1757.html
|
|
|
|
|
2014-04-04 11:39:40 +04:00
|
|
|
``cxx_rvalue_references``
|
|
|
|
R-value references, as defined in N2118_.
|
|
|
|
|
|
|
|
.. _N2118: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html
|
|
|
|
|
2014-04-06 12:09:37 +04:00
|
|
|
``cxx_sizeof_member``
|
|
|
|
Size of non-static data members, as defined in N2253_.
|
|
|
|
|
|
|
|
.. _N2253: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2253.html
|
|
|
|
|
2014-04-04 02:00:28 +04:00
|
|
|
``cxx_static_assert``
|
|
|
|
Static assert, as defined in N1720_.
|
|
|
|
|
|
|
|
.. _N1720: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1720.html
|
|
|
|
|
2014-04-03 02:02:54 +04:00
|
|
|
``cxx_strong_enums``
|
|
|
|
Strongly typed enums, as defined in N2347_.
|
|
|
|
|
|
|
|
.. _N2347: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2347.pdf
|
|
|
|
|
2014-04-06 12:10:54 +04:00
|
|
|
``cxx_thread_local``
|
|
|
|
Thread-local variables, as defined in N2659_.
|
|
|
|
|
|
|
|
.. _N2659: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2659.htm
|
|
|
|
|
2014-04-04 02:02:14 +04:00
|
|
|
``cxx_trailing_return_types``
|
|
|
|
Automatic function return type, as defined in N2541_.
|
|
|
|
|
|
|
|
.. _N2541: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2541.htm
|
|
|
|
|
2014-04-04 12:59:22 +04:00
|
|
|
``cxx_unicode_literals``
|
|
|
|
Unicode string literals, as defined in N2442_.
|
|
|
|
|
|
|
|
.. _N2442: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm
|
|
|
|
|
2014-04-04 16:53:25 +04:00
|
|
|
``cxx_uniform_initialization``
|
|
|
|
Uniform intialization, as defined in N2640_.
|
|
|
|
|
|
|
|
.. _N2640: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2640.pdf
|
|
|
|
|
2014-04-04 13:06:02 +04:00
|
|
|
``cxx_unrestricted_unions``
|
|
|
|
Unrestricted unions, as defined in N2544_.
|
|
|
|
|
|
|
|
.. _N2544: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf
|
|
|
|
|
2014-04-04 12:56:09 +04:00
|
|
|
``cxx_user_literals``
|
|
|
|
User-defined literals, as defined in N2765_.
|
|
|
|
|
|
|
|
.. _N2765: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2765.pdf
|
|
|
|
|
2014-05-06 02:21:14 +04:00
|
|
|
``cxx_variable_templates``
|
|
|
|
Variable templates, as defined in N3651_.
|
|
|
|
|
|
|
|
.. _N3651: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3651.pdf
|
|
|
|
|
2014-04-04 17:05:10 +04:00
|
|
|
``cxx_variadic_macros``
|
|
|
|
Variadic macros, as defined in N1653_.
|
|
|
|
|
|
|
|
.. _N1653: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1653.htm
|
|
|
|
|
2014-04-02 17:02:41 +04:00
|
|
|
``cxx_variadic_templates``
|
|
|
|
Variadic templates, as defined in N2242_.
|
|
|
|
|
|
|
|
.. _N2242: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2242.pdf
|
2014-04-06 13:40:11 +04:00
|
|
|
|
|
|
|
``cxx_template_template_parameters``
|
|
|
|
Template template parameters, as defined in ``ISO/IEC 14882:1998``.
|