
5 Nov
2012
5 Nov
'12
4:28 a.m.
2012/11/5 Matt Calabrese <rivorus@gmail.com>
So, instead of specifying the return type when invoking the metafunction, it automatically defines an associated type "result_type," which a programmer could then check against if he or she desired. Again, your implementation may be more useful depending on the context, but this is something to consider.
In the case that return type is unimportant, just leave it as void, e.g. can_be_called<F, void(Args...)> BTW, the Boost.Generic Definition column in your page seems to use ",,," instead of "..." for VA, is that true?