On Jun 8, 11:10 am, desktop <f...@sss.com> wrote:
I have found the stl_tree.h for a red-black tree in:
/usr/include/c++/4.1.2/bits
But where is the .cpp source file located or are all the
implementation located in the .h file?
Who knows? It's up to the implementation. The path you give
suggests g++, in which case, there's probably a file .tcc
somewhere in the bits directory, with the actual implementation.
With a good compiler, however, one that implements export, it's
not even certain that the implementation is present on the
machine. And every implementation has its own strategy for
handling this when the compiler doesn't implement export. But
about the only time any of this is relevant is when you're
debugging the library yourself.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient?e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S?mard, 78210 St.-Cyr-l'?cole, France, +33 (0)1 30 23 00 34
But they are not defined. If they are not defined on my machine where