diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2001-12-12 10:32:03 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2001-12-12 10:32:03 +0000 |
commit | ad1a6d451fc204825c147a83195b545e6ac3f423 (patch) | |
tree | 99b2a32054b3589da751ba02c5758f319cb48548 /gcc/doc | |
parent | 3f2c5d1a0d08e8d9b3048a71c56de9ddc4293924 (diff) | |
download | gcc-ad1a6d451fc204825c147a83195b545e6ac3f423.zip gcc-ad1a6d451fc204825c147a83195b545e6ac3f423.tar.gz gcc-ad1a6d451fc204825c147a83195b545e6ac3f423.tar.bz2 |
extend.texi (Deprecated Features): Deprecate implicit typename.
* doc/extend.texi (Deprecated Features): Deprecate implicit
typename. Document that named return and initializer lists are now
removed.
cp:
* decl.c (grokdeclarator): Deprecated implicit typename use.
testsuite:
* g++.old-deja/g++.brendan/crash56.C: Adjust implicit typename.
* g++.old-deja/g++.jason/2371.C: Likewise.
* g++.old-deja/g++.jason/template33.C: Likewise.
* g++.old-deja/g++.jason/template34.C: Likewise.
* g++.old-deja/g++.jason/template36.C: Likewise.
* g++.old-deja/g++.oliva/typename1.C: Likewise.
* g++.old-deja/g++.oliva/typename2.C: Likewise.
* g++.old-deja/g++.other/typename1.C: Likewise.
* g++.old-deja/g++.pt/inherit2.C: Likewise.
* g++.old-deja/g++.pt/nontype5.C: Likewise.
* g++.old-deja/g++.pt/typename11.C: Likewise.
* g++.old-deja/g++.pt/typename14.C: Likewise.
* g++.old-deja/g++.pt/typename16.C: Likewise.
* g++.old-deja/g++.pt/typename3.C: Likewise.
* g++.old-deja/g++.pt/typename4.C: Likewise.
* g++.old-deja/g++.pt/typename5.C: Likewise.
* g++.old-deja/g++.pt/typename7.C: Likewise.
* g++.old-deja/g++.robertl/eb9.C: Likewise.
From-SVN: r47927
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/extend.texi | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 10524a5..80addd3 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -5450,11 +5450,19 @@ parameters, as C++ demands. This feature has been removed, except where it is required for backwards compatibility @xref{Backwards Compatibility}. @end table -The named return value extension has been deprecated, and will be -removed from g++ at some point. +The named return value extension has been deprecated, and is now +removed from g++. The use of initializer lists with new expressions has been deprecated, -and will be removed from g++ at some point. +and is now removed from g++. + +Floating and complex non-type template parameters have been deprecated, +and are now removed from g++. + +The implicit typename extension has been deprecated and will be removed +from g++ at some point. In some cases g++ determines that a dependant +type such as @code{TPL<T>::X} is a type without needing a +@code{typename} keyword, contrary to the standard. @node Backwards Compatibility @section Backwards Compatibility @@ -5477,7 +5485,7 @@ the end of the scope which contained the for statement (rather than just within the for scope). G++ retains this, but issues a warning, if such a variable is accessed outside the for scope. -@item implicit C language +@item Implicit C language Old C system header files did not contain an @code{extern "C" @{@dots{}@}} scope to set the language. On such systems, all header files are implicitly scoped inside a C language scope. Also, an empty prototype |