C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

typo in 3.3 clause 4?

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language, library and standards
View previous topic :: View next topic  
Author Message
Ivan Novick
Guest





PostPosted: Wed Dec 20, 2006 4:59 pm    Post subject: typo in 3.3 clause 4? Reply with quote



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 ]
Back to top
Ivan Novick
Guest





PostPosted: Wed Dec 20, 2006 8:18 pm    Post subject: Re: typo in 3.3 clause 4? Reply with quote



Pete Becker wrote:
Quote:
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 ]
Back to top
Pete Becker
Guest





PostPosted: Wed Dec 20, 2006 9:49 pm    Post subject: Re: typo in 3.3 clause 4? Reply with quote



Ivan Novick wrote:
Quote:

I see. So apparently a "Clause" is the same thing as a "Chapter".

Yes.

Quote:
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 ]
Back to top
Gennaro Prota
Guest





PostPosted: Wed Dec 20, 2006 11:05 pm    Post subject: Re: typo in 3.3 clause 4? Reply with quote

On Wed, 20 Dec 2006 15:49:43 CST, Pete Becker wrote:

Quote:
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 Smile 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 ]
Back to top
Pete Becker
Guest





PostPosted: Thu Dec 21, 2006 1:22 am    Post subject: Re: typo in 3.3 clause 4? Reply with quote

Ivan Novick wrote:
Quote:

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 ]
Back to top
Gennaro Prota
Guest





PostPosted: Thu Dec 21, 2006 4:58 am    Post subject: Re: typo in 3.3 clause 4? Reply with quote

On Wed, 20 Dec 2006 19:22:15 GMT, Pete Becker wrote:

Quote:
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? Smile 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 ]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language, library and standards All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.