Re: Can I reliably use &(Foo.data()[0]) to pass a pointer to matrix data?

"Ramsey, James J CIV (US)" <[email protected]>
Newsgroups gmane.comp.lib.boost.ublas
Message-ID <B5E7491E7F72164997C336AA7C85A5FC14E33475@ucolhp9g.easf.csd.disa.mil>
________________________________________

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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.