Topic: Automatic templating under Visual C++


Author: "Laurent LETELLIER" <llaurent@chouette.saclay.cea#.fr>
Date: 1999/08/04
Raw View
Hi,

I would like to know if there is any possibilities (option for the compiler
or anything else)  to force automatic instantiations of templated  classes
when building a library.  For the moment I do explicit instantiation as in
the example below :

template LImage <unsigned char> ;
template LImage <unsigned int>;
template LImage <float>;

I believe that such an option is avalaible on the C++ SGI compiler but can
we do the same under VC++ 6.0 ?

Thanks in advance for any help,

Laurent.
laurent.letellier@cea.fr
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]