[C++-sig] Exposing a template class

Roman Yakovenko roman.yakovenko at gmail.com
Fri May 18 20:27:55 CEST 2007


On 5/18/07, Pertti Kellomäki <pk at cs.tut.fi> wrote:
> Are there examples around of exposing instances of
> template classes? I'm assuming it should be as easy
> as enclosing a  BOOST_PYTHON_MODULE inside a template
> and instantiating the template, but it would be reassuring
> to have some hand holding in case there are issues I have
> not thought about.

It is not that clear what you want to do. Exposing instantiation of
template class is not different from exposing non-template class.

-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list