Hello,
I wonder if it's possible to write a portable universal recursive copier
for structs? (vs. the default one-level copier).
Thanks.
Wei Jen Yeh ···@cs.purdue.edu
Department of Computer Science
Purdue University
West Lafayette, Indiana
In article <·····@ector.cs.purdue.edu> ···@cs.purdue.EDU (Wei Jen Yeh) writes:
>Hello,
> I wonder if it's possible to write a portable universal recursive copier
>for structs? (vs. the default one-level copier).
No, since there's no portable way to get the slots of a structure if you
don't know the names of the accessors.
--
Barry Margolin
System Manager, Thinking Machines Corp.
······@think.com {uunet,harvard}!think!barmar