
On Mon, 2005-03-28 at 08:59, David Abrahams wrote:
David Abrahams <dave@boost-consulting.com> writes:
Bruno MartÃnez Aguerre <br1@internet.com.uy> writes:
On Thu, 24 Mar 2005 09:54:36 -0600, Kelly Burkhart <kelly@tradebotsystems.com> wrote:
I'm going through the excercises in this book and am stumped on the second one I tried. Does anyone have a hint on how to approach this problem?
Consider types as trees. You have to recurse into the tree, searching for the type you want to replace.
I hope it helps. If you're still stuck, I can give you my solution.
<hint> People who haven't used partial specialization much often have a hard time with this exercise. </hint>
You might want to look at the answers page started by Ariel Badichi: http://tinyurl.com/6e8sv
(http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?CPP_Template_...)
Thank you, this will be very helpful as I continue through; it is interesting comparing Ariel's Ch.2 solutions with my own. Thanks for the hints, they did help and I was very pleased when I completed the excercise on my own. -K