
On 5/7/2010 2:02 AM, Kim Kuen Tang wrote:
Eric Niebler schrieb:
See if the code attached to the following ticket meets your needs: https://svn.boost.org/trac/boost/ticket/3783
I ran into the same problem some months ago and did also my own implementation. However the implementation by eric_niebler seems to be more generic and it works IMHO also for boost::function and boost::phoenix. (Verified by some simple test cases)
Good to know.
Are test cases and documentation the only things that are needed such that is_callable_with_args can be included in boost?
Test cases are attached to the ticket. Documentation is not. What is really needed is someone to light a fire under Tobias Schwinger. He's the maintainer of the function types library. Tobias?
Btw what does calling convention on function types mean here ?
It means that on some compilers, void (__stdcall *)() is a different type than void (__cdecl *)(). This utility should accommodate all calling conventions. -- Eric Niebler BoostPro Computing http://www.boostpro.com