Boost logo

Boost Users :

From: Cromwell Enage (sponage_at_[hidden])
Date: 2005-10-27 08:58:06


--- 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net