On Fri, 29 Jul 2005, Florian Weimer wrote:
> This was once desirable because you couldn't declare real constants in
> classes.  Today,
> 
>   template <typename T>
>   struct Foo
>   {
>     static const unsigned N = T::N;
>     char bar[N];
>   };
> 
> works and the enum trick lost its importance.

 So, if I'm understanding this and the discussion
 that followed correctly, we should change the
 enum to constants. Unless anyone objects, I'll
 file a bug against libc6-dev tomorrow asking for
 it.

                        --j


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to