On Thu, Jun 08, 2006 at 02:27:34PM +0100, John Aldridge wrote: > Michael Dickens wrote: > >>In reality, it will work with any C++ element for which memcpy is a > >>valid copy constructor. This includes many structures and classes, > >>but not all. > > I.e. those things which the C++ standard calls "POD types" (see section > 3.9 paras 2 & 10)?
I don't recall if pointers are POD types, but copying structures containing pointers could be problematic if there are object lifetime/ownership conventions that should be observed. Eric _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio