unordered map broken msvc
Error(s): C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(504): error C2039: 'value_type': is not a member of 'std::equal_to<_Kty>'
with
[
_Kty=int
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(803): note: see reference to class template instantiation 'std::allocator_traits<_Alloc>' being compiled
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\list(473): note: see reference to class template instantiation 'std::_Wrap_alloc<std::equal_to<_Kty>>' being compiled
with
[
_Kty=int
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\list(554): note: see reference to class template instantiation 'std::_List_base_types<_Ty,_Alloc>' being compiled
with
[
_Ty=std::pair<const int,int>,
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\list(809): note: see reference to class template instantiation 'std::_List_alloc<std::_List_base_types<_Ty,_Alloc>>' being compiled
with
[
_Ty=std::pair<const int,int>,
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\list(861): note: see reference to class template instantiation 'std::_List_buy<_Ty,_Alloc>' being compiled
with
[
_Ty=std::pair<const int,int>,
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xhash(162): note: see reference to class template instantiation 'std::list<std::pair<const _Kty,_Ty>,std::equal_to<_Ty>>' being compiled
with
[
_Kty=int,
_Ty=int
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\unordered_map(86): note: see reference to class template instantiation 'std::_Hash<std::_Umap_traits<_Kty,_Ty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>>' being compiled
with
[
_Kty=int,
_Ty=int,
_Hasher=std::hash<int>,
_Keyeq=std::hash<int>,
_Alloc=std::equal_to<int>
]
source_file.cpp(27): note: see reference to class template instantiation 'std::unordered_map<MappedTy,KeyTy,NewHasher,NewKeyeq,NewAlloc>' being compiled
with
[
MappedTy=int,
KeyTy=int,
NewHasher=std::hash<int>,
NewKeyeq=std::hash<int>,
NewAlloc=std::equal_to<int>
]
source_file.cpp(37): note: see reference to function template instantiation 'auto flipped_unorderedMap<int,int,std::hash<int>,std::hash<int>,std::equal_to<_Kty>,std::unordered_map,std::hash<int>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>(const std::unordered_map<_Kty,_Ty,std::hash<int>,std::equal_to<_Ty>,std::allocator<std::pair<const _Kty,_Ty>>> &,NewHasher *,NewKeyeq *,NewAlloc *)' being compiled
with
[
_Kty=int,
_Ty=int,
NewHasher=std::hash<int>,
NewKeyeq=std::hash<int>,
NewAlloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(504): error C3646: 'value_type': unknown override specifier
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(504): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): error C2146: syntax error: missing '>' before identifier 'value_type'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(506): note: see reference to class template instantiation 'std::_Get_pointer_type<_Alloc>' being compiled
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): error C2672: 'std::_Get_pointer_type<_Alloc>::_Fn': no matching overloaded function found
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): error C2893: Failed to specialize function template 'std::_Identity<int> std::_Get_pointer_type<_Alloc>::_Fn(std::_Wrap_int)'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): note: With the following template arguments:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): note: '_Uty=std::equal_to<_Kty>'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::pointer> std::_Get_pointer_type<_Alloc>::_Fn(int)'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): note: see declaration of 'std::_Get_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(508): note: see reference to class template instantiation 'std::_Get_const_pointer_type<_Alloc>' being compiled
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): error C2146: syntax error: missing '>' before identifier 'value_type'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): error C2672: 'std::_Get_const_pointer_type<_Alloc>::_Fn': no matching overloaded function found
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): error C2770: invalid explicit template argument(s) for 'std::_Identity<pointer_traits<_Get_pointer_type<_Alloc>::_Decltype::type>::rebind<const int>> std::_Get_const_pointer_type<_Alloc>::_Fn(std::_Wrap_int)'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): note: see declaration of 'std::_Get_const_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::const_pointer> std::_Get_const_pointer_type<_Alloc>::_Fn(int)'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): note: see declaration of 'std::_Get_const_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(339): error C2672: 'std::_Get_void_pointer_type<_Alloc>::_Fn': no matching overloaded function found
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(510): note: see reference to class template instantiation 'std::_Get_void_pointer_type<_Alloc>' being compiled
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(339): error C2770: invalid explicit template argument(s) for 'std::_Identity<pointer_traits<_Get_pointer_type<_Alloc>::_Decltype::type>::rebind<void>> std::_Get_void_pointer_type<_Alloc>::_Fn(std::_Wrap_int)'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(339): note: see declaration of 'std::_Get_void_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(339): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::void_pointer> std::_Get_void_pointer_type<_Alloc>::_Fn(int)'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(339): note: see declaration of 'std::_Get_void_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(346): error C2672: 'std::_Get_const_void_pointer_type<_Alloc>::_Fn': no matching overloaded function found
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(512): note: see reference to class template instantiation 'std::_Get_const_void_pointer_type<_Alloc>' being compiled
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(346): error C2770: invalid explicit template argument(s) for 'std::_Identity<pointer_traits<_Get_pointer_type<_Alloc>::_Decltype::type>::rebind<const void>> std::_Get_const_void_pointer_type<_Alloc>::_Fn(std::_Wrap_int)'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(346): note: see declaration of 'std::_Get_const_void_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(346): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::const_void_pointer> std::_Get_const_void_pointer_type<_Alloc>::_Fn(int)'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(346): note: see declaration of 'std::_Get_const_void_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(353): error C2672: 'std::_Get_difference_type<_Ty>::_Fn': no matching overloaded function found
with
[
_Ty=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): note: see reference to class template instantiation 'std::_Get_difference_type<_Ty>' being compiled
with
[
_Ty=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(515): note: see reference to class template instantiation 'std::_Get_size_type<_Alloc>' being compiled
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(353): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Get_ptr_difference_type<_Get_pointer_type<_Alloc>::_Decltype::type>::type> std::_Get_difference_type<_Ty>::_Fn(std::_Wrap_int)'
with
[
_Alloc=std::equal_to<int>,
_Ty=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(353): note: see declaration of 'std::_Get_difference_type<_Ty>::_Fn'
with
[
_Ty=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(353): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::difference_type> std::_Get_difference_type<_Ty>::_Fn(int)'
with
[
_Ty=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(353): note: see declaration of 'std::_Get_difference_type<_Ty>::_Fn'
with
[
_Ty=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): error C2672: 'std::_Get_size_type<_Alloc>::_Fn': no matching overloaded function found
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): error C2770: invalid explicit template argument(s) for 'std::_Identity<make_unsigned<_Get_difference_type<_Ty>::_Decltype::type>::type> std::_Get_size_type<_Ty>::_Fn(std::_Wrap_int)'
with
[
_Ty=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): note: see declaration of 'std::_Get_size_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::size_type> std::_Get_size_type<_Alloc>::_Fn(int)'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): note: see declaration of 'std::_Get_size_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(534): warning C4494: 'std::allocator_traits<_Alloc>::allocate' : Ignoring __declspec(allocator) because the function return type is not a pointer or reference
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(540): warning C4494: 'std::allocator_traits<_Alloc>::allocate' : Ignoring __declspec(allocator) because the function return type is not a pointer or reference
with
[
_Alloc=std::equal_to<int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(897): warning C4494: 'std::_Wrap_alloc<std::equal_to<_Kty>>::allocate' : Ignoring __declspec(allocator) because the function return type is not a pointer or reference
with
[
_Kty=int
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(903): warning C4494: 'std::_Wrap_alloc<std::equal_to<_Kty>>::allocate' : Ignoring __declspec(allocator) because the function return type is not a pointer or reference
with
[
_Kty=int
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(504): error C2039: 'value_type': is not a member of 'std::equal_to<_Newfirst>'
with
[
_Newfirst=std::pair<const int,int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(803): note: see reference to class template instantiation 'std::allocator_traits<_Alloc>' being compiled
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\list(476): note: see reference to class template instantiation 'std::_Wrap_alloc<std::equal_to<_Newfirst>>' being compiled
with
[
_Newfirst=std::pair<const int,int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): error C2672: 'std::_Get_pointer_type<_Alloc>::_Fn': no matching overloaded function found
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): error C2893: Failed to specialize function template 'std::_Identity<int> std::_Get_pointer_type<_Alloc>::_Fn(std::_Wrap_int)'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): note: With the following template arguments:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): note: '_Uty=std::equal_to<_Newfirst>'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::pointer> std::_Get_pointer_type<_Alloc>::_Fn(int)'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(325): note: see declaration of 'std::_Get_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): error C2672: 'std::_Get_const_pointer_type<_Alloc>::_Fn': no matching overloaded function found
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): error C2770: invalid explicit template argument(s) for 'std::_Identity<pointer_traits<_Get_pointer_type<_Alloc>::_Decltype::type>::rebind<const int>> std::_Get_const_pointer_type<_Alloc>::_Fn(std::_Wrap_int)'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): note: see declaration of 'std::_Get_const_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::const_pointer> std::_Get_const_pointer_type<_Alloc>::_Fn(int)'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(332): note: see declaration of 'std::_Get_const_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(339): error C2672: 'std::_Get_void_pointer_type<_Alloc>::_Fn': no matching overloaded function found
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(510): note: see reference to class template instantiation 'std::_Get_void_pointer_type<_Alloc>' being compiled
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(339): error C2770: invalid explicit template argument(s) for 'std::_Identity<pointer_traits<_Get_pointer_type<_Alloc>::_Decltype::type>::rebind<void>> std::_Get_void_pointer_type<_Alloc>::_Fn(std::_Wrap_int)'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(339): note: see declaration of 'std::_Get_void_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(339): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::void_pointer> std::_Get_void_pointer_type<_Alloc>::_Fn(int)'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(339): note: see declaration of 'std::_Get_void_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(346): error C2672: 'std::_Get_const_void_pointer_type<_Alloc>::_Fn': no matching overloaded function found
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(512): note: see reference to class template instantiation 'std::_Get_const_void_pointer_type<_Alloc>' being compiled
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(346): error C2770: invalid explicit template argument(s) for 'std::_Identity<pointer_traits<_Get_pointer_type<_Alloc>::_Decltype::type>::rebind<const void>> std::_Get_const_void_pointer_type<_Alloc>::_Fn(std::_Wrap_int)'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(346): note: see declaration of 'std::_Get_const_void_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(346): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::const_void_pointer> std::_Get_const_void_pointer_type<_Alloc>::_Fn(int)'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(346): note: see declaration of 'std::_Get_const_void_pointer_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(353): error C2672: 'std::_Get_difference_type<_Ty>::_Fn': no matching overloaded function found
with
[
_Ty=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): note: see reference to class template instantiation 'std::_Get_difference_type<_Ty>' being compiled
with
[
_Ty=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(515): note: see reference to class template instantiation 'std::_Get_size_type<_Alloc>' being compiled
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(353): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Get_ptr_difference_type<_Get_pointer_type<_Alloc>::_Decltype::type>::type> std::_Get_difference_type<_Ty>::_Fn(std::_Wrap_int)'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>,
_Ty=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(353): note: see declaration of 'std::_Get_difference_type<_Ty>::_Fn'
with
[
_Ty=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(353): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::difference_type> std::_Get_difference_type<_Ty>::_Fn(int)'
with
[
_Ty=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(353): note: see declaration of 'std::_Get_difference_type<_Ty>::_Fn'
with
[
_Ty=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): error C2672: 'std::_Get_size_type<_Alloc>::_Fn': no matching overloaded function found
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): error C2770: invalid explicit template argument(s) for 'std::_Identity<make_unsigned<_Get_difference_type<_Ty>::_Decltype::type>::type> std::_Get_size_type<_Ty>::_Fn(std::_Wrap_int)'
with
[
_Ty=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): note: see declaration of 'std::_Get_size_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): error C2770: invalid explicit template argument(s) for 'std::_Identity<_Uty::size_type> std::_Get_size_type<_Alloc>::_Fn(int)'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(360): note: see declaration of 'std::_Get_size_type<_Alloc>::_Fn'
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(534): warning C4494: 'std::allocator_traits<_Alloc>::allocate' : Ignoring __declspec(allocator) because the function return type is not a pointer or reference
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(540): warning C4494: 'std::allocator_traits<_Alloc>::allocate' : Ignoring __declspec(allocator) because the function return type is not a pointer or reference
with
[
_Alloc=std::equal_to<std::pair<const int,int>>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(897): warning C4494: 'std::_Wrap_alloc<std::equal_to<_Newfirst>>::allocate' : Ignoring __declspec(allocator) because the function return type is not a pointer or reference
with
[
_Newfirst=std::pair<const int,int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(903): warning C4494: 'std::_Wrap_alloc<std::equal_to<_Newfirst>>::allocate' : Ignoring __declspec(allocator) because the function return type is not a pointer or reference
with
[
_Newfirst=std::pair<const int,int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(203): warning C4624: 'std::_Is_simple_alloc<std::_Wrap_alloc<std::equal_to<_Newfirst>>>': destructor was implicitly defined as deleted
with
[
_Newfirst=std::pair<const int,int>
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\list(485): note: see reference to class template instantiation 'std::_Is_simple_alloc<std::_Wrap_alloc<std::equal_to<_Newfirst>>>' being compiled
with
[
_Newfirst=std::pair<const int,int>
]
source_file.cpp(28): error C2039: 'inserter': is not a member of 'std'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\algorithm(14): note: see declaration of 'std'
source_file.cpp(28): error C3861: 'inserter': identifier not found
source_file.cpp(21): error C2440: 'default argument': cannot convert from 'std::allocator<std::pair<const _Kty,_Ty>> *' to 'std::equal_to<_Kty> *'
with
[
_Kty=int,
_Ty=int
]
and
[
_Kty=int
]
source_file.cpp(21): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
source_file.cpp(20): error C2440: 'default argument': cannot convert from 'std::equal_to<_Kty> *' to 'std::hash<int> *'
with
[
_Kty=int
]
source_file.cpp(20): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64
|
|