Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2005-03-28 09:59:39


David Abrahams <dave_at_[hidden]> writes:

> Bruno Martínez Aguerre <br1_at_[hidden]> writes:
>
>> On Thu, 24 Mar 2005 09:54:36 -0600, Kelly Burkhart
>> <kelly_at_[hidden]> 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_Metaprogramming_Book_-_Answers_Page)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.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