Gennaro Prota wrote: > > On Mon, 17 Feb 2003 10:02:58 +0100, Daniel Frey > <[EMAIL PROTECTED]> wrote: > > >I started to implement my own type-traits to see if I can do it and to > >learn something. While doing so, my design lead me to some dependencies: > > >is_enum needed is_class > > Daniel, my apologies in advance if this is just a stupid comment. I'm > again jumping in without actually following the thread (not enough > > [snipped is_enum-implementation] > > The above is absolutely untested and off the top of my head so take it > with great great prudence :-) It was just to say that, if I'm not > mistaken, is_enum doesn't need is_class. Maybe.
Yes, is_enum doesn't need is_class. It was just the case in my implementation at the time I started because I finished is_class first and is_enum was then very easy to implement based on is_class - I just forgot to look for a direct way to do is_enum. Meanwhile I know that there are much better ways, but the above was just to explain how I took the wrong direction. Regards, Daniel -- Daniel Frey aixigo AG - financial training, research and technology Schloß-Rahe-Straße 15, 52072 Aachen, Germany fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99 eMail: [EMAIL PROTECTED], web: http://www.aixigo.de _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost