David Abrahams
Bruno MartÃnez Aguerre
writes: On Thu, 24 Mar 2005 09:54:36 -0600, Kelly Burkhart
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_...) -- Dave Abrahams Boost Consulting www.boost-consulting.com