Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-17 09:47:25


"Brian Braatz" <brianb_at_[hidden]> writes:

> There is a common mental pattern that occurs:
>
> "Hmm.. there SHOULD be a SIMPLE way to do X."
> (flip through MPL book, MPL ref manual, google boost archives, write
> sample code)
> "Hmm.. Ok I can see there maybe a way to do this COMPLETELY from
> scratch, but I am not totally certain I need to do that. I need to keep
> looking. There probably is a clever one liner to solve the problem"....
>
> Your advice was EXACLY what I needed. (i..e how to THINK about the
> solution)
>
> THANK YOU

You're welcome. If you wouldn't mind writing up the answer for the
wiki, that would be awesome. Not sure where it should go; neither

http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?CPP_Template_Metaprogramming_Book_-_Answers_Page

nor

http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Effective_MPL

seem to be quite right.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk