2013/4/24 Robert Jones <robertgbjones@gmail.com>
Hi FolksI know has_call is not yet part of Boost, but using the implementation fromwith this code#include "boost/type_traits/has_call.hpp"#include <cassert>
template<typename Sig, typename F>bool HasCall(F const&){ return boost::has_call<F, Sig>::value; }void DefaultVal(int) {}int main(){assert(HasCall<boost::dont_care(int)>(DefaultVal));}fails to compile for me, with a template instantiation ambiguity error. Seems the error is triggeredby the use of boost::dont_care.Any ideas?