Re: [Numpy-discussion] moving C++ binary data to numpy

2011-02-07 Thread David
On 02/08/2011 03:52 AM, Ilya Shlyakhter wrote: > Is there a portable way to save vector of C++ structs to a binary > file C++ structs are not portable, so that sounds difficult. In practice, you have compiler-specific ways to enforce some alignement within a structure, but that sounds rather nig

[Numpy-discussion] moving C++ binary data to numpy

2011-02-07 Thread Ilya Shlyakhter
Is there a portable way to save vector of C++ structs to a binary file, and then load it as a numpy recarray? thanks, ilya ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion