
23 Jun
2010
23 Jun
'10
11:37 a.m.
At Tue, 22 Jun 2010 17:06:26 -0700, Yongning Zhu wrote:
Hi,
I implemented a template<class T, int d> VECTOR;
Now I can expose specialized class like VECTOR<int,2> to python, but I want to expose more specializations without copying a whole set. What shall I do?
Write a template that contains the code to expose one specialization, then use that over and over. -- Dave Abrahams BoostPro Computing http://www.boostpro.com