Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!apple!netcom!avery From: avery@netcom.COM (Avery Colter) Newsgroups: comp.lang.c Subject: Re: Is simple assignment allowed with structs Message-ID: <1991Apr18.095803.11624@netcom.COM> Date: 18 Apr 91 09:58:03 GMT References: <15649@smoke.brl.mil> <1991Apr8.073710.22673@netcom.COM> <15766@smoke.brl.mil> Organization: Netcom - Online Communication Services UNIX System {408 241-9760 guest} Lines: 14 And so the mindless philosopher asks, "Yes, but WHY was it decided that simple struct assignment had universal semantics?" I suggest it was for the reason I stated, that the memory offsets are the same for all variables of the same type of struct. -- ^ ^ Avery Ray Colter /^\___/^\ avery@netcom.com {apple|claris}!netcom!avery ( o _ o ) elfcat@btr.btr.com {decwrl|mips|sgi}!btr!elfcat \ /v\ / 71067.606@compuserve.com (415) 839-4567 \_*-*_/ `-' Afternoon has gently passed me by. - The ELFCAT! And Evening spreads itself against the sky. Police