Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!att!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c++ Subject: Re: assigning int to enum Message-ID: <9556@alice.UUCP> Date: 4 Jul 89 13:50:57 GMT References: <387@odi.ODI.COM> <9550@alice.UUCP> <389@odi.ODI.COM> <390@odi.ODI.COM> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 9 In article <390@odi.ODI.COM>, benson@odi.com (Benson Margulies) writes: > I can define conversions willy-nilly for > classes. I can assign ints to shorts to longs to my heart's content. Not really -- you'll get a warning if you assign a long to an int, too. -- --Andrew Koenig ark@europa.att.com