Commit 6d9c4c83 by Jonathan Wakely

extend.texi (Template Instantiation): Refer to ISO standard, not Working Paper.

2003-04-08  Jonathan Wakely  <redi@gcc.gnu.org>

	* doc/extend.texi (Template Instantiation): Refer to ISO standard,
	not Working Paper.
	* doc/invoke.texi (C++ Dialect Options): Same.

From-SVN: r65456
parent bc9150d3
2003-04-08 Jonathan Wakely <redi@gcc.gnu.org>
* doc/extend.texi (Template Instantiation): Refer to ISO standard,
not Working Paper.
* doc/invoke.texi (C++ Dialect Options): Same.
2003-04-10 Zack Weinberg <zack@codesourcery.com> 2003-04-10 Zack Weinberg <zack@codesourcery.com>
* tree.c (tree_operand_check_failed): New function. * tree.c (tree_operand_check_failed): New function.
......
...@@ -7428,8 +7428,8 @@ compile it without @option{-fno-implicit-templates} so you get all of the ...@@ -7428,8 +7428,8 @@ compile it without @option{-fno-implicit-templates} so you get all of the
instances required by your explicit instantiations (but not by any instances required by your explicit instantiations (but not by any
other files) without having to specify them as well. other files) without having to specify them as well.
g++ has extended the template instantiation syntax outlined in the g++ has extended the template instantiation syntax given in the ISO
Working Paper to allow forward declaration of explicit instantiations standard to allow forward declaration of explicit instantiations
(with @code{extern}), instantiation of the compiler support data for a (with @code{extern}), instantiation of the compiler support data for a
template class (i.e.@: the vtable) without instantiating any of its template class (i.e.@: the vtable) without instantiating any of its
members (with @code{inline}), and instantiation of only the static data members (with @code{inline}), and instantiation of only the static data
......
...@@ -1281,14 +1281,14 @@ around bugs in the access control code. ...@@ -1281,14 +1281,14 @@ around bugs in the access control code.
@item -fcheck-new @item -fcheck-new
@opindex fcheck-new @opindex fcheck-new
Check that the pointer returned by @code{operator new} is non-null Check that the pointer returned by @code{operator new} is non-null
before attempting to modify the storage allocated. The current Working before attempting to modify the storage allocated. This check is
Paper requires that @code{operator new} never return a null pointer, so normally unnecessary because the C++ standard specifies that
this check is normally unnecessary. @code{operator new} will only return @code{0} if it is declared
@samp{throw()}, in which case the compiler will always check the
An alternative to using this option is to specify that your return value even without this option. In all other cases, when
@code{operator new} does not throw any exceptions; if you declare it @code{operator new} has a non-empty exception specification, memory
@samp{throw()}, G++ will check the return value. See also @samp{new exhaustion is signalled by throwing @code{std::bad_alloc}. See also
(nothrow)}. @samp{new (nothrow)}.
@item -fconserve-space @item -fconserve-space
@opindex fconserve-space @opindex fconserve-space
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment