Topic: Defect: Example in 9.6/4 is incorrect
Author: rdossant@microsoft.com ("Roberto Santos")
Date: Sat, 11 Oct 2003 01:46:10 +0000 (UTC) Raw View
_____________________________________________
From: Herb Sutter
Sent: Friday, October 10, 2003 12:01 PM
To: Roberto Santos
Subject: RE: Non-Important "typo" in C++ Std that maybe could be fixed
in the future
Thanks, Roberto. The right place to post this kind of comment is the
newsgroup news:comp.std.c++.
I think you're right, and I don't see this on the issues list. Please go
ahead and post it to the newsgroup (with a subject like "Defect: Example
in 9.6/4 is incorrect" to make sure it gets noticed by the right
people). Thanks for the report!
Herb
-----Original Message-----
From: Roberto Santos
Sent: Friday, October 10, 2003 11:54 AM
To: Herb Sutter
Subject: Non-Important "typo" in C++ Std that maybe could be
fixed in the future
Hi,
It looks like the example on 9.6/4 has both the enum and function
contributing the identifier "f" for the same scope.
enum BOOL { f=0, t=1 };
struct A {
BOOL b:1;
};
A a;
void f() {
a.b = t;
if (a.b == t) // shall yield true
{ /* ... */ }
}
I wish you can get if fixed in the committee... but I'm sorry if you're
not the right person to report it to (please let me know whom should I
report it to).
Thanks.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]
Author: jdennett@acm.org (James Dennett)
Date: Sun, 12 Oct 2003 02:02:41 +0000 (UTC) Raw View
Details on how to submit a defect report can be found at
http://www.jamesd.demon.co.uk/csc/faq.html#B15
If your employer is represented on the committee, you can
also file defect reports directly. Either approach will
work.
Roberto Santos wrote:
> _____________________________________________
> From: Herb Sutter
> Sent: Friday, October 10, 2003 12:01 PM
> To: Roberto Santos
> Subject: RE: Non-Important "typo" in C++ Std that maybe could be fixed
> in the future
>
> Thanks, Roberto. The right place to post this kind of comment is the
> newsgroup news:comp.std.c++.
>
> I think you're right, and I don't see this on the issues list. Please go
> ahead and post it to the newsgroup (with a subject like "Defect: Example
> in 9.6/4 is incorrect" to make sure it gets noticed by the right
> people). Thanks for the report!
>
> Herb
>
>
> -----Original Message-----
> From: Roberto Santos
> Sent: Friday, October 10, 2003 11:54 AM
> To: Herb Sutter
> Subject: Non-Important "typo" in C++ Std that maybe could be
> fixed in the future
>
> Hi,
>
> It looks like the example on 9.6/4 has both the enum and function
> contributing the identifier "f" for the same scope.
>
> enum BOOL { f=0, t=1 };
> struct A {
> BOOL b:1;
> };
> A a;
> void f() {
> a.b = t;
> if (a.b == t) // shall yield true
> { /* ... */ }
> }
>
> I wish you can get if fixed in the committee... but I'm sorry if you're
> not the right person to report it to (please let me know whom should I
> report it to).
> Thanks.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]