27 Oct
2005
27 Oct
'05
1:58 p.m.
--- Oliver Kowalke wrote:
Sorry - in your book (C++ Template Metaprogramming, page 205) I can read: "The technique of using a static_cast with CRTP to reach the derived object is sometimes called the "Barton and Nackmann trick" ...". Is this wrong?
In "C++ Templates" by David Vandevoorde and Nicolai M. Josuttis, bottom of page 299: "CRTP is also sometimes confused with the Barton-Nackman trick because Barton and Nackman frequently used CRTP in combination with friend name injection (and the latter is an important component of the Barton-Nackman trick)." Cromwell D. Enage __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com