Re: Can I reliably use &(Foo.data()[0]) to pass a pointer to matrix data?
Nasos Iliopoulos <[email protected]>
| Newsgroups | gmane.comp.lib.boost.ublas |
|---|---|
| Message-ID | <[email protected]> |
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 > [email protected] > http://lists.boost.org/mailman/listinfo.cgi/ublas > Sent to: [email protected] _______________________________________________ ublas mailing list [email protected] http://lists.boost.org/mailman/listinfo.cgi/ublas Sent to: [email protected]