| Subject: | Re: RFC, problem with g++4 |
|---|---|
| From: | Jaakko Niemi <liiwi@xxxxxxxxxxxxx> |
| Date: | Fri, 29 Jul 2005 23:10:06 +0200 |
| Newsgroups: | linux.debian.devel |
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 debian-devel-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: RFC, problem with g++4, Antti-Juhani Kaijanaho |
|---|---|
| Next by Date: | Re: Packages descriptions review, Clément Stenac |
| Previous by Thread: | Re: RFC, problem with g++4, Antti-Juhani Kaijanaho |
| Next by Thread: | Re: RFC, problem with g++4, Florian Weimer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |