Boost logo

Boost Users :

From: Kelly Burkhart (kelly_at_[hidden])
Date: 2005-03-28 11:57:28


On Mon, 2005-03-28 at 08:59, David Abrahams wrote:
> 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)

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


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