
14 Jul
2010
14 Jul
'10
9:11 a.m.
Karsten Ahnert skrev:
Hi,
I want to define a range for gsl_vector's. I have tried many versions according to the manual but none is working. Maybe someone here could help me.
This is what I do, or least what I think is most promising (the full code can be found in the attachment):
namespace boost {
template<> struct range_iterator< gsl_vector* > { typedef gsl_vector_iterator type; };
Why are you using gsl_vector* here? Why not gsl_vector? -Thorsten