
18 Aug
2004
18 Aug
'04
11:02 a.m.
Jonathan Turkanis wrote:
I can do it with this syntax:
boost::resolve_cast<int()>(&C::g); boost::resolve_cast<int(int)>(&C::g);
The nice thing about the original syntax was that you didn't have to specify the return type. Is it be possible to change this to something like this? boost::resolve_cast<_()>(&C::g); boost::resolve_cast<_(int)>(&C::g); So that the return type is just a placeholder. An alternative would be: boost::resolve<>::cast(&C::g); boost::resolve<int>::cast(&C::g); But maybe that's a bit too jumbled up. Daniel