Date: Sun, 24 Nov 2002 20:39:03 +0100 From: Matthias Troyer <[EMAIL PROTECTED]>
>you seem to have misunderstood that: a function >void basic_oarchive::write_array(double* p, std::size_t n) >will work for ALL contiguous data: C-arrays, std::vector, ublas and MTL >arrays, and so on Hmmm - what I don't understand is how this would be different that calling void basic_oarchive::write_array(void* p, size_t count) which has been in the library from the very beginning. So you can just as well wite class MyClass { double d[100000]; void save(basic_oarchive &ar) { write_binary(d, sizeof(d)); } ... }; Incidently, this would work for any kind of archive - not just the binary ones. Robert Raamey _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost