Boost logo

Boost :

Subject: Re: [boost] [functional] adding overload
From: Gordon Woodhull (gordon_at_[hidden])
Date: 2012-02-01 13:10:57


On Jan 31, 2012, at 7:23 PM, Lorenzo Caminiti <lorcaminiti_at_[hidden]> wrote:

> Just the case that you have a bunch of functions (function pointers,
> function references, and monomorphic functors) with different names
> and you want to combine them into an API with a single overloaded
> function name.

I think this will be generally useful.

I wonder if you have thought about the case where the source funcs are polymorphic? Can this be supported using the same technique or does it require some metaprogramming magic?

Cheers,
Gordon


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