Boost logo

Boost :

From: Arturo_Cuebas_at_[hidden]
Date: 2004-08-23 14:06:02


I realize interest in this has died. In spite of that, I'd like to throw
one more thing out there to see if it generates any feedback and if not
then this is the last you'll hear of this.

Does anyone like this syntax?:

overload_select<int, int, int>()(&V::f);

This returns a boost::function because my compiler (VC7.1) generates an
error if I try to define a member function of a class that looks like
this:

//P1, P2, & P3 are template parameters of the template class.
template <typename R, typename C>
R (C:: * operator() (R (C::* Func)(P1, P2, P3)))(P1, P2, P3)
{
   return Func;
}


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