
21 Jun
2012
21 Jun
'12
10:23 p.m.
On Thu, Jun 21, 2012 at 04:42:59PM +0400, niXman wrote:
Hello!
I need to get the types list for operator() for result type of boost::bind()
Example:
void func(int, long) {} auto o = boost::bind(&func, _1, _2); o( ??? ); // what types of arguments?
If you use Phoenix's bind, there might be some limited introspection possible, due to the fact that the result is a Proto tree, with all the traversal and queries you can perform against such a beast. I have no idea how to achieve such a thing, however. -- Lars Viklund | zao@acc.umu.se