diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-01 01:19:34 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-01 01:19:34 +0000 |
commit | f695a6952f111e79c685301c292755908473f297 (patch) | |
tree | dc28dfcd476d96c178357d2bcbd91099a6b07d5d /docs/LanguageExtensions.html | |
parent | 76852c218a207ef43583515cb835b6e855353a0f (diff) |
Add __has_feature(cxx_defaulted_functions) for querying "defaulted
functions", from Michel Morin!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143411 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LanguageExtensions.html')
-rw-r--r-- | docs/LanguageExtensions.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html index becdbfac4d..34e205613b 100644 --- a/docs/LanguageExtensions.html +++ b/docs/LanguageExtensions.html @@ -46,6 +46,7 @@ <li><a href="#cxx_constexpr">C++11 generalized constant expressions</a></li> <li><a href="#cxx_decltype">C++11 <tt>decltype()</tt></a></li> <li><a href="#cxx_default_function_template_args">C++11 default template arguments in function templates</a></li> + <li><a href="#cxx_defaulted_functions">C++11 defaulted functions</a></li> <li><a href="#cxx_delegating_constructor">C++11 delegating constructors</a></li> <li><a href="#cxx_deleted_functions">C++11 deleted functions</a></li> <li><a href="#cxx_explicit_conversions">C++11 explicit conversion functions</a></li> @@ -509,6 +510,12 @@ enabled. Clang does not currently implement this feature.</p> <tt>__has_extension(cxx_default_function_template_args)</tt> to determine if support for default template arguments in function templates is enabled.</p> +<h4 id="cxx_defaulted_functions">C++11 <tt>default</tt>ed functions</h4> + +<p>Use <tt>__has_feature(cxx_defaulted_functions)</tt> or +<tt>__has_extension(cxx_defaulted_functions)</tt> to determine if support for +defaulted function definitions (with <tt>= default</tt>) is enabled.</p> + <h4 id="cxx_delegating_constructors">C++11 delegating constructors</h4> <p>Use <tt>__has_feature(cxx_delegating_constructors)</tt> to determine if |