Boost logo

Boost :

From: rwgk_at_[hidden]
Date: 2001-11-19 08:27:37


--- In boost_at_y..., John Hunter <jdhunter_at_a...> wrote:
> >>>>> "Paul" == Paul F Kunz <paul_kunz_at_s...> writes:
>
> Paul> Its the second argument that has me stuck.
> ...
> //template instantiations
> #define INSTANTIATE_TEMPLATE(T) \
> template class std::vector<T>;\
> ...
> INSTANTIATE_TEMPLATE(float)

You can also do this without #define. See the
vector_wrapper.h file in the boost/libs/python/example
directory (it is used by the examples richcmp1.cpp
and richcmp3.cpp).

Ralf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk