|
Ublas : |
Subject: Re: [ublas] Can I reliably use &(Foo.data()[0]) to pass a pointer to matrix data?
From: Ramsey, James J CIV (US) (james.j.ramsey14.civ_at_[hidden])
Date: 2013-06-26 08:19:39
________________________________________
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?