Boost logo

Ublas :

Subject: Re: [ublas] Can I reliably use &(Foo.data()[0]) to pass a pointer to matrix data?
From: Nasos Iliopoulos (nasos_i_at_[hidden])
Date: 2013-06-26 10:08:01


Yes, something like that.

On 06/26/2013 08:19 AM, Ramsey, James J CIV (US) wrote:
> ________________________________________
>
> Ramsey,
> unless your toolset is using a very strange std allocator implementation
> (I have personally never seen a deployment with such a strange
> allocator), it will work fine.
> _______________________________________________
>
> I gather that by "strange", you mean a std::allocator whose allocate() member function does not allocate a straight linear block of storage?
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: athanasios.iliopoulos.ctr.gr_at_[hidden]