Topic: typo in 3.3 clause 4?
Author: "Ivan Novick" <ivan@0x4849.net>
Date: Wed, 20 Dec 2006 10:59:22 CST Raw View
Hi,
This clause says "[Note: a namespace name or a class template name must
be unique in its declarative region (7.3.2 clause 14)"
However there is no clause 14 in 7.3.2. I think the correct reference
should be 7.3.2 clause 4.
I checked the draft doc from the web in addition to a bound copy and
they both look the same.
-------
Ivan
http://www.0x4849.net
---
[ 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.comeaucomputing.com/csc/faq.html ]
Author: pete@versatilecoding.com (Pete Becker)
Date: Wed, 20 Dec 2006 19:22:15 GMT Raw View
Ivan Novick wrote:
>
> This clause says "[Note: a namespace name or a class template name must
> be unique in its declarative region (7.3.2 clause 14)"
>
> However there is no clause 14 in 7.3.2. I think the correct reference
> should be 7.3.2 clause 4.
>
It's a somewhat confusing reference, but it's right. It refers to two
places, section 7.3.2 and clause 14. The standard doesn't have
references to individual paragraphs, only to numbered sections.
Incidentally, the usual convention for referring to a particular
paragraph is 3.3/4. Even better, [basic.scope](3.3)/4 or some such. The
section tags stay the same as the draft develops. The section numbers
change.
--
-- Pete
Roundhouse Consulting, Ltd. (www.versatilecoding.com)
Author of "The Standard C++ Library Extensions: a Tutorial and
Reference." (www.petebecker.com/tr1book)
---
[ 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.comeaucomputing.com/csc/faq.html ]
Author: "Ivan Novick" <ivan@0x4849.net>
Date: Wed, 20 Dec 2006 14:18:59 CST Raw View
Pete Becker wrote:
> Ivan Novick wrote:
> >
> > This clause says "[Note: a namespace name or a class template name must
> > be unique in its declarative region (7.3.2 clause 14)"
> >
> > However there is no clause 14 in 7.3.2. I think the correct reference
> > should be 7.3.2 clause 4.
> >
>
> It's a somewhat confusing reference, but it's right. It refers to two
> places, section 7.3.2 and clause 14. The standard doesn't have
> references to individual paragraphs, only to numbered sections.
>
> Incidentally, the usual convention for referring to a particular
> paragraph is 3.3/4. Even better, [basic.scope](3.3)/4 or some such. The
> section tags stay the same as the draft develops. The section numbers
> change.
>
I see. So apparently a "Clause" is the same thing as a "Chapter". I
was thinking a clause was a paragraph number, since all the chapters
are titled "Chapter X" and not "Clause X".
Thanks,
------
Ivan
http://www.0x4849.net
---
[ 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.comeaucomputing.com/csc/faq.html ]
Author: Pete Becker <pete@versatilecoding.com>
Date: Wed, 20 Dec 2006 15:49:43 CST Raw View
Ivan Novick wrote:
>>
> I see. So apparently a "Clause" is the same thing as a "Chapter".
Yes.
> I
> was thinking a clause was a paragraph number, since all the chapters
> are titled "Chapter X" and not "Clause X".
>
Oops, I need to fix that. The 2003 standard just has the clause number
at the start of each clause. The "Chapter" is an artifact of the change
from troff to LaTeX, after the 2003 standard.
--
-- Pete
Roundhouse Consulting, Ltd. (www.versatilecoding.com)
Author of "The Standard C++ Library Extensions: a Tutorial and
Reference." (www.petebecker.com/tr1book)
---
[ 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.comeaucomputing.com/csc/faq.html ]
Author: gennaro_pruota@yahoo.com (Gennaro Prota)
Date: Wed, 20 Dec 2006 22:58:03 GMT Raw View
On Wed, 20 Dec 2006 19:22:15 GMT, Pete Becker wrote:
>Ivan Novick wrote:
>>
>> This clause says "[Note: a namespace name or a class template name must
>> be unique in its declarative region (7.3.2 clause 14)"
>>
>> However there is no clause 14 in 7.3.2. I think the correct reference
>> should be 7.3.2 clause 4.
>>
>
>It's a somewhat confusing reference, but it's right. It refers to two
>places, section 7.3.2 and clause 14.
Why not making an innocent editorial fix here? :-) Also, could you
please have a look at Ivan's post on c.l.c++.m and my reply there? I
suspect there's a defect on this but I haven't checked the whole 7.3.
--
Gennaro Prota. C++ developer. For hire.
(to mail me, remove any 'u' from the address)
---
[ 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.comeaucomputing.com/csc/faq.html ]
Author: Gennaro Prota <gennaro_pruota@yahoo.com>
Date: Wed, 20 Dec 2006 17:05:32 CST Raw View
On Wed, 20 Dec 2006 15:49:43 CST, Pete Becker wrote:
>The 2003 standard just has the clause number at the start of each
>clause. The "Chapter" is an artifact of the change from troff to
>LaTeX, after the 2003 standard.
How nice :-) Could I ask what version of troff?
--
Gennaro Prota. C++ developer. For hire.
(to mail me, remove any 'u' from the address)
---
[ 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.comeaucomputing.com/csc/faq.html ]