Topic: Editorial fix [N2134]: Typo in subtract_with_carry_engine declaration


Author: "=?iso-8859-1?q?Daniel_Kr=FCgler?=" <daniel.kruegler@googlemail.com>
Date: Thu, 8 Mar 2007 17:44:36 CST
Raw View
[rand.synopsis]-26.4.2 the header <random> synopsis
contains an unreasonable closing curly brace inside the
subtract_with_carry_engine declaration.

Proposed resolution:

Change the current declaration

template <class UIntType, size_t w}, size_t s, size_t r>
class subtract_with_carry_engine;

to

template <class UIntType, size_t w, size_t s, size_t r>
class subtract_with_carry_engine;

Greetings from Bremen,

Daniel Kr   gler


---
[ 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: Fri, 9 Mar 2007 23:41:55 GMT
Raw View
Daniel Kr=FCgler wrote:
> [rand.synopsis]-26.4.2 the header <random> synopsis
> contains an unreasonable closing curly brace inside the
> subtract_with_carry_engine declaration.
>=20
> Proposed resolution:
>=20
> Change the current declaration
>=20
> template <class UIntType, size_t w}, size_t s, size_t r>
> class subtract_with_carry_engine;
>=20
> to
>=20
> template <class UIntType, size_t w, size_t s, size_t r>
> class subtract_with_carry_engine;
>=20

Editorial. Thanks.

--=20

 -- Pete
Roundhouse Consulting, Ltd. (www.versatilecoding.com)
Author of "The Standard C++ Library Extensions: a Tutorial and=20
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                      ]