Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!dptg!ulysses!andante!alice!ark
From: ark@alice.UUCP (Andrew Koenig)
Newsgroups: comp.lang.c++
Subject: Re: assigning int to enum
Message-ID: <9774@alice.UUCP>
Date: 14 Aug 89 12:34:22 GMT
References: <387@odi.ODI.COM> <9550@alice.UUCP> <389@odi.ODI.COM>
Organization: AT&T Bell Laboratories, Liberty Corner NJ
Lines: 9

In article <389@odi.ODI.COM>, benson@odi.com (Benson Margulies) writes:

> 1) It sure would be nice to be able to define implicit conversions
> involving ints and enums. They could even include runtime checking!

Why not make your type a class with the appropriate conversions?
-- 
				--Andrew Koenig
				  ark@europa.att.com