Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2003-02-17 15:37:33


Gennaro Prota wrote:
>
> On Mon, 17 Feb 2003 10:02:58 +0100, Daniel Frey
> <daniel.frey_at_[hidden]> 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: daniel.frey_at_[hidden], web: http://www.aixigo.de

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk