X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Fdoc%2Fhtml%2Fmanual%2Fsupport.html;h=b5f2d115a987e64ec4d72110b81a0a91912e4251;hb=7ffc0596cf37a74abf0b136957540b987d8f5cd8;hp=aa360f029f19e184eb182f4faa006a34aa00bea6;hpb=45936f18b2fbb1ca6647f04675fba92967276249;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libstdc++-v3/doc/html/manual/support.html b/libstdc++-v3/doc/html/manual/support.html index aa360f029f1..b5f2d115a98 100644 --- a/libstdc++-v3/doc/html/manual/support.html +++ b/libstdc++-v3/doc/html/manual/support.html @@ -1,14 +1,14 @@ -
Table of Contents
Table of Contents
This part deals with the functions called and objects created automatically during the course of a program's existence.
@@ -58,7 +58,7 @@
traits classes to give access to various implementation
defined-aspects of the fundamental types. The traits classes --
fourteen in total -- are all specializations of the template class
- numeric_limits
, documented here
+ numeric_limits
, documented here
and defined as follows:
template<typename T> @@ -116,14 +116,14 @@ overloading won't do what you expect. (This is why g++ has a magic extension, so thatNULL
is always a pointer.) -In his book Effective +
In his book Effective C++, Scott Meyers points out that the best way to solve this problem is to not overload on pointer-vs-integer types to begin with. He also offers a way to make your own magic
NULL
that will match pointers before it matches integers.