Boost logo

Boost Users :

Subject: Re: [Boost-users] [Range] Definition of a range for gsl_vector
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2010-07-14 05:11:02


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net