> I see that the template function approach is very useful for the
> number of value-types I have to work with (you guessed right), but I
> still have problems...
> 1) on the python interpreter, i have:
> >>> fvec2
> < class '_ext.fvec2' >
> >>> int
> < type 'int' >
> Is there a standard way to make fvec2 become a real "type" in python,
> just like int?
What is fvec2 missing that makes you think it's not a "real type" ?
> 2) I still can't do this from python
> >>> a = fvec2 (4.0,2.0)
> I realise that what I may be missing is .def("__init__", ... )
> somewhere, but I don't know where, and how to initialize it properly. (