------- Comment #10 from paolo dot carlini at oracle dot com 2010-02-01 19:40 ------- I see. In principle I think the user would like to see only
operator!=(int, int) <built-in> and indeed: template<typename _Tp, typename _Tp_Deleter, typename _Up, typename _Up_Deleter> bool operator!=(const unique_ptr<_Tp, _Tp_Deleter>&, const unique_ptr<_Up, _Up_Deleter>&); but I understand those overloads for std::error_condition / std::error_code combinations cannot be avoided... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42925