Boost logo

Boost :

Subject: Re: [boost] Overload resolution speed
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-09-23 05:45:19


On 22/09/2011 00:42, John Bytheway wrote:

> What about using functors; so the call would be something like
>
> dispatching<f0_>()(h49_<int>(), h49_<int>(), h49_<int>(), h49_<int>(),
> h49_<int>());
>
> with the f parameter choosing a template specialization, and then the
> other parameters picking an overload of operator() ion it?

The problem is that you cannot overload dispatching<f0_>::operator()
once the class has been defined.


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