> Maybe this one does what you need:
> http://groups.google.com/group/comp.lang.c++.moderated/tree/browse_frm/thread/4f7c7a96f9afbe44/c95a7b4c645e449f#doc_e5fbc9305539f699

> HTH,
> Roman Perepelitsa.

 

 

Thanks Roman. It is kind of amazing!  Both has_member<> and is_call_possible<> are very interesting (even if a bit ugly).

 

But is_call_possible doesn’t seem to work for member functions that don’t have any arguments.  I tried twiddling with the implementation a bit and no luck yet.

-Roshan