1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| 1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xstddef(180): error C2676: binary '<' : 'const Foo' does not define this operator or a conversion to a type acceptable to the predefined operator
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xstddef(179) : while compiling class template member function 'bool std::less<_Kty>::operator ()(const _Ty &,const _Ty &) const'
1> with
1> [
1> _Kty=Foo
1> , _Ty=Foo
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xtree(1792) : see reference to function template instantiation 'bool std::less<_Kty>::operator ()(const _Ty &,const _Ty &) const' being compiled
1> with
1> [
1> _Kty=Foo
1> , _Ty=Foo
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\type_traits(743) : see reference to class template instantiation 'std::less<_Kty>' being compiled
1> with
1> [
1> _Kty=Foo
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xtree(1028) : see reference to class template instantiation 'std::is_empty<std::less<_Kty>>' being compiled
1> with
1> [
1> _Kty=Foo
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\set(44) : see reference to class template instantiation 'std::_Tree<std::_Tset_traits<_Kty,_Pr,_Alloc,false>>' being compiled
1> with
1> [
1> _Kty=Foo
1> , _Pr=std::less<Foo>
1> , _Alloc=std::allocator<Foo>
1> ]
1> main.cpp(6) : see reference to class template instantiation 'std::set<Foo,std::less<_Kty>,std::allocator<_Kty>>' being compiled
1> with
1> [
1> _Kty=Foo
1> ] |