Re: how to examine STL source code

From: Alwyn (alwyn_at_blueyonder.co.uk)
Date: 02/16/05


Date: Wed, 16 Feb 2005 10:35:19 +0000

On Wed, 16 Feb 2005 09:08:24 +0000, Mark P wrote:
>
> Thanks for the info. Is everything in .h files? Somehow I expected to
> see .cpp files.

These are the private files included by the public header files; as you
will see, some of them have the suffix '.h' and others '.tcc'. The latter
contain the major template functions.

I would imagine that the source for any non-template functions in
libstdc++ would not be installed on your computer and could be viewed only
by downloading the GCC source code.
<http://gcc.gnu.org/releases.html>

Alwyn