Subject: Re: [boost] [review] Conversion review ends today
From: Gordon Woodhull (gordon_at_[hidden])
Date: 2011-09-01 00:29:53
On Aug 31, 2011, at 6:28 PM, Jeffrey Lee Hellrung, Jr. wrote:
>> Jeff, what method did you use to glue together the various function objects
>> into one?
> I'm not sure I understand. I have a single, well-contained family of
> function objects that do the conversions for me, but within the context of
> where these conversions are actually used, one could straightforwardly
> replace the family of types and the corresponding family of function objects
> used to effect conversions between said types.
I meant, so you have a set of conversion function objects, how do you dispatch to the right one? Or can you just dispatch on a single type in your case?
I was hoping that there was a way to paste together a bunch of function objects as if they were function overloads.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk