 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alberto Ganesh Barbati Guest
|
Posted: Mon May 21, 2007 5:10 am Post subject: Editorial fix: capitalization in 14.5/5 |
|
|
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
|
Posted: Mon May 21, 2007 7:05 am Post subject: Re: Editorial fix: capitalization in 14.5/5 |
|
|
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 |
|
 |
Powered by phpBB © 2001, 2006 phpBB Group
|