Article View: comp.std.c
Article #6188Re: compatability isn't transitive
From: bdm659
Date: Thu, 01 Feb 1990 20:42
Date: Thu, 01 Feb 1990 20:42
19 lines
1099 bytes
1099 bytes
In article <12570042@hpclwjm.HP.COM>, walter@hpclwjm.HP.COM (Walter Murray) writes: > Brendan McKay writes: > >> Find three types A, B, C, such that A and B are compatible, >> B and C are compatible, but A and C are not compatible. > >> [Additionally, all three types are required to be complete.] > > typedef void (*A) (int); > typedef void (*B) (); > typedef void (*C) (double); Ok, that's a solution too. There's another one for complete types other than functions. If it hasn't been posted when I get back in a week, I'll post it myself. Brendan McKay. PS. I never said this wasn't a boring question.
Technical Details
Message-ID:
<1424.25c89f25@csc.anu.oz>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!apple!brutus.cs.uiuc.edu!samsung!munnari.oz.au!csc!bdm659References:
<1371.25bf217c@csc.anu.oz> <12570042@hpclwjm.HP.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!apple!brutus.cs.uiuc.edu!samsung!munnari.oz.au!csc!bdm659 From: bdm659@csc.anu.oz Newsgroups: comp.std.c Subject: Re: compatability isn't transitive Message-ID: <1424.25c89f25@csc.anu.oz> Date: 1 Feb 90 20:42:13 GMT References: <1371.25bf217c@csc.anu.oz> <12570042@hpclwjm.HP.COM> Organization: Computer Services, Australian National University Lines: 19