On Fri, 31 Oct 1997, Shaleh wrote:
> How is the STL shipped then. We do not have access to its code do we??
>
First off, since it's an official part of Debian, yes, we must have access
to the code somehow.
But aside from that, yes, _any_ template library that someone provides for
developers to
On Fri, 31 Oct 1997, Shaleh wrote:
> This is mostly off topic but
>
> How do you compile a template class into an object file WITHOUT
> instantiating it??? g++ happily compiles the .o file but bombs out when
> it tries to link later. Any suggestions happily accepted. Either to
> the list
How is the STL shipped then. We do not have access to its code do we??
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble? e-mail to [EMAIL PROTECTED] .
For template classes, the class has to be in the header file only, it
can't have separate files for header and class file.
When you want to use the template class, only include the header file,
and compile only the test file, not the template class file.
Ex.
template class file : bar.h
test file:
This is mostly off topic but
How do you compile a template class into an object file WITHOUT
instantiating it??? g++ happily compiles the .o file but bombs out when
it tries to link later. Any suggestions happily accepted. Either to
the list or me personally.
--
TO UNSUBSCRIBE FROM THIS M
5 matches
Mail list logo