aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2019-09-04 20:10:13 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2019-09-04 20:10:13 +0000
commitdb9d22747831cd595b6e909a588a1c87ead2a698 (patch)
tree03f05bd02e32a660f7b022ceb6d2b6aea4971358 /gcc/doc
parent0c7800b29bd48cc0f7685f3c0da2db6fd87ef52c (diff)
downloadgcc-db9d22747831cd595b6e909a588a1c87ead2a698.zip
gcc-db9d22747831cd595b6e909a588a1c87ead2a698.tar.gz
gcc-db9d22747831cd595b6e909a588a1c87ead2a698.tar.bz2
Remove -fdeduce-init-list.
From-SVN: r275387
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi22
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 34d0746..fad19dd 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -2550,28 +2550,6 @@ of a loop too many expressions need to be evaluated, the resulting constexpr
evaluation might take too long.
The default is 33554432 (1<<25).
-@item -fdeduce-init-list
-@opindex fdeduce-init-list
-Enable deduction of a template type parameter as
-@code{std::initializer_list} from a brace-enclosed initializer list, i.e.@:
-
-@smallexample
-template <class T> auto forward(T t) -> decltype (realfn (t))
-@{
- return realfn (t);
-@}
-
-void f()
-@{
- forward(@{1,2@}); // call forward<std::initializer_list<int>>
-@}
-@end smallexample
-
-This deduction was implemented as a possible extension to the
-originally proposed semantics for the C++11 standard, but was not part
-of the final standard, so it is disabled by default. This option is
-deprecated, and may be removed in a future version of G++.
-
@item -fno-elide-constructors
@opindex fno-elide-constructors
@opindex felide-constructors