Hi, I've attached up something that seems to kind of maybe work in g++. Don't have access to any other compiler at the moment, so I can't tell you if it will work or if it is even conforming to standard. The solution only helps at runtime currently as I'm not exactly sure how to decompose the bind_t object at compile time (NOT a template guru). It uses boost bind internals as of 1.33.1.

I'd appreciate if someone could warp this to somehow get the right information at compile time.

Hope it helps!

Sohail