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 

Editorial fix: capitalization in 14.5/5

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





PostPosted: Mon May 21, 2007 5:10 am    Post subject: Editorial fix: capitalization in 14.5/5 Reply with quote



Hi,

in the latest draft (paper N2284), the example in paragraph 14.5/5 contains:

template<class ... Args> void g(Args ... args)
{
f(const_cast<const Args*>(&Args)...); // OK: “Args” and “args” are
expanded
<snip>
}

The capitalization of the second "Args" in the function body is
incorrect. The offending line should read:

f(const_cast<const Args*>(&args)...); // OK: “Args” and “args” are
expanded

HTH,

Ganesh

---
[ 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: Mon May 21, 2007 7:05 am    Post subject: Re: Editorial fix: capitalization in 14.5/5 Reply with quote



Alberto Ganesh Barbati wrote:
Quote:
Hi,

in the latest draft (paper N2284), the example in paragraph 14.5/5 contains:

template<class ... Args> void g(Args ... args)
{
f(const_cast<const Args*>(&Args)...); // OK: “Args” and “args” are
expanded
snip
}

The capitalization of the second "Args" in the function body is
incorrect. The offending line should read:

f(const_cast<const Args*>(&args)...); // OK: “Args” and “args” are
expanded


Noted. Please send editorial fixes to editorial (AT) versatilecoding (DOT) com.

--

-- 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
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language, library and standards All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group