summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-20 17:47:07 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-20 17:47:07 +0000
commit6ad63f691de853f0352235161d5373251f027a2e (patch)
tree4464b738f62f978f0c8e8ca69908599822b42455 /gcc/doc
parent199489b23bf390d7f5fcf45fab2a7e694b4b8601 (diff)
downloadgcc-6ad63f691de853f0352235161d5373251f027a2e.tar.gz
* doc/extend.texi (Template Instantiation): Remove anachronisms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185584 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi18
1 files changed, 5 insertions, 13 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 3a2e1d4d6ed..bb4382584bc 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -15162,16 +15162,7 @@ GNU/Linux or Solaris 2, or on Microsoft Windows, G++ supports the
Borland model. On other systems, G++ implements neither automatic
model.
-A future version of G++ will support a hybrid model whereby the compiler
-will emit any instantiations for which the template definition is
-included in the compile, and store template definitions and
-instantiation context information into the object file for the rest.
-The link wrapper will extract that information as necessary and invoke
-the compiler to produce the remaining instantiations. The linker will
-then combine duplicate instantiations.
-
-In the mean time, you have the following options for dealing with
-template instantiations:
+You have the following options for dealing with template instantiations:
@enumerate
@item
@@ -15233,9 +15224,10 @@ compile it without @option{-fno-implicit-templates} so you get all of the
instances required by your explicit instantiations (but not by any
other files) without having to specify them as well.
-G++ has extended the template instantiation syntax given in the ISO
-standard to allow forward declaration of explicit instantiations
-(with @code{extern}), instantiation of the compiler support data for a
+The ISO C++ 2011 standard allows forward declaration of explicit
+instantiations (with @code{extern}). G++ supports explicit instantiation
+declarations in C++98 mode and has extended the template instantiation
+syntax to support instantiation of the compiler support data for a
template class (i.e.@: the vtable) without instantiating any of its
members (with @code{inline}), and instantiation of only the static data
members of a template class, without the support data or member