Quote:
/usr/include/c++/4.5/type_traits:273|5|instantiated from ‘std::is_convertible<const std::basic_string<char>, std::function<void(std::basic_string<char>)> >’|
/usr/include/boost/unordered/detail/hash_table_impl.hpp:277|21|instantiated from here|
/usr/include/c++/4.5/type_traits|263|internal compiler error: in copy_fn_p, at cp/decl.c:9962|
||=== Build finished: 1 errors, 0 warnings ===|
Quote:
template<typename _From, typename _To>
struct __is_convertible_helper<_From, _To, false>
: public __sfinae_types
{
private:
static __one __test(_To);
static __two __test(...);
public:
static const bool __value = sizeof(__test(declval<_From>())) == 1; // here
};
Can't decide whether to find a different alternative, or sacrifice the O2/O3 performance for the moment.