
4 Nov
2012
4 Nov
'12
7:23 p.m.
On 04/11/2012 14:15, TONGARI wrote:
Hi there,
I've used this metafunction for some time, and it just fitted my need. Recently, I make up my mind to complete it, willing to put it in public.
Synopsis -------------- can_be_called<F, Sig>
F Any callable type to test, even member-function ptr. Sig The desired calling signature, function-type only.
Personally, I've found it more useful to just not define result_of<F(args)>::type if F(args) cannot be called.