|
Boost : |
Subject: Re: [boost] [review] Conversion review ends today
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2011-09-01 01:16:54
On 01/09/2011 1:29, Gordon Woodhull wrote:
> I was hoping that there was a way to paste together a bunch of function objects as if they were function overloads.
>
Create a new class that keeps references to all such function objects,
and implements implicit conversions to each of them. Then you can use an
instance of this class as an "overloaded function object".
Agustín K-ballo Bergé.-
http://talesofcpp.blogspot.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk