Advertisement
sve_vash

Untitled

Nov 25th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.93 KB | None | 0 0
  1. ====================[ Build | hash-map-svevash | Debug ]========================
  2. "C:\Program Files\JetBrains\CLion 2018.3.4\bin\cmake\win\bin\cmake.exe" --build C:\Users\Svetlana\CLionProjects\hash-map-svevash\cmake-build-debug --target hash-map-svevash -- -j 2
  3. Scanning dependencies of target hash-map-svevash
  4. [ 50%] Building CXX object CMakeFiles/hash-map-svevash.dir/main.cpp.obj
  5. In file included from C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:22:
  6. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::try_emplace(fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type&&, _Args&& ...) [with _Args = {int, int}; K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]':
  7. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:33:63: required from here
  8. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:472:5: warning: no return statement in function returning non-void [-Wreturn-type]
  9. }
  10. ^
  11. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::try_emplace(fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type&&, _Args&& ...) [with _Args = {int}; K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]':
  12. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:52:54: required from here
  13. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:472:5: warning: no return statement in function returning non-void [-Wreturn-type]
  14. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::try_emplace(const key_type&, _Args&& ...) [with _Args = {int}; K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]':
  15. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:54:39: required from here
  16. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:464:14: error: unable to deduce 'std::initializer_list<auto>' from '{k, std::forward<int>((* & args#0))}'
  17. auto p = {k, mapped_type(std::forward<_Args>(args)...)};
  18. ^
  19. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:464:14: note: deduced conflicting types for parameter 'auto' ('std::__cxx11::basic_string<char>' and 'int')
  20. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:467:5: warning: no return statement in function returning non-void [-Wreturn-type]
  21. }
  22. ^
  23. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::try_emplace(const key_type&, _Args&& ...) [with _Args = {float}; K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]':
  24. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:56:47: required from here
  25. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:464:14: error: unable to deduce 'std::initializer_list<auto>' from '{k, (fefu::hash_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, fefu::allocator<std::pair<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int> > >::mapped_type)forward()((std::remove_reference<float>::type&)(float*)args#0)}'
  26. auto p = {k, mapped_type(std::forward<_Args>(args)...)};
  27. ^
  28. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:464:14: note: deduced conflicting types for parameter 'auto' ('std::__cxx11::basic_string<char>' and 'int')
  29. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:467:5: warning: no return statement in function returning non-void [-Wreturn-type]
  30. }
  31. ^
  32. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type&&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const std::__cxx11::basic_string<char>, int>]':
  33. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:94:73: required from here
  34. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:532:5: warning: no return statement in function returning non-void [-Wreturn-type]
  35. }
  36. ^
  37. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(const value_type&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const std::__cxx11::basic_string<char>, int>]':
  38. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:96:30: required from here
  39. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:514:29: error: no match for 'operator=' (operand types are 'fefu::hash_map<std::__cxx11::basic_string<char>, int>::value_type' {aka 'std::pair<const std::__cxx11::basic_string<char>, int>'} and 'const int')
  40. data[i] = x.second;
  41. ~~~~~~~~^~~~~~~~~~
  42. In file included from C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/stl_algobase.h:64,
  43. from C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/char_traits.h:39,
  44. from C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/string:40,
  45. from C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:18:
  46. C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/stl_pair.h:367:7: note: candidate: 'std::pair<_T1, _T2>& std::pair<_T1, _T2>::operator=(typename std::conditional<std::__and_<std::is_copy_assignable<_Tp>, std::is_copy_assignable<_T2> >::value, const std::pair<_T1, _T2>&, const std::__nonesuch_no_braces&>::type) [with _T1 = const std::__cxx11::basic_string<char>; _T2 = int; typename std::conditional<std::__and_<std::is_copy_assignable<_Tp>, std::is_copy_assignable<_T2> >::value, const std::pair<_T1, _T2>&, const std::__nonesuch_no_braces&>::type = const std::__nonesuch_no_braces&]'
  47. operator=(typename conditional<
  48. ^~~~~~~~
  49. C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/stl_pair.h:367:7: note: no known conversion for argument 1 from 'const int' to 'std::conditional<false, const std::pair<const std::__cxx11::basic_string<char>, int>&, const std::__nonesuch_no_braces&>::type' {aka 'const std::__nonesuch_no_braces&'}
  50. C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/stl_pair.h:384:7: note: candidate: 'std::pair<_T1, _T2>& std::pair<_T1, _T2>::operator=(typename std::conditional<std::__and_<std::is_move_assignable<_Tp>, std::is_move_assignable<_T2> >::value, std::pair<_T1, _T2>&&, std::__nonesuch_no_braces&&>::type) [with _T1 = const std::__cxx11::basic_string<char>; _T2 = int; typename std::conditional<std::__and_<std::is_move_assignable<_Tp>, std::is_move_assignable<_T2> >::value, std::pair<_T1, _T2>&&, std::__nonesuch_no_braces&&>::type = std::__nonesuch_no_braces&&]'
  51. operator=(typename conditional<
  52. ^~~~~~~~
  53. C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/stl_pair.h:384:7: note: no known conversion for argument 1 from 'const int' to 'std::conditional<false, std::pair<const std::__cxx11::basic_string<char>, int>&&, std::__nonesuch_no_braces&&>::type' {aka 'std::__nonesuch_no_braces&&'}
  54. C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/stl_pair.h:400:2: note: candidate: 'template<class _U1, class _U2> typename std::enable_if<std::__and_<std::is_assignable<_T1&, const _U1&>, std::is_assignable<_T2&, const _U2&> >::value, std::pair<_T1, _T2>&>::type std::pair<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = const std::__cxx11::basic_string<char>; _T2 = int]'
  55. operator=(const pair<_U1, _U2>& __p)
  56. ^~~~~~~~
  57. C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/stl_pair.h:400:2: note: template argument deduction/substitution failed:
  58. In file included from C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:22:
  59. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:514:29: note: mismatched types 'const std::pair<_T1, _T2>' and 'const int'
  60. data[i] = x.second;
  61. ~~~~~~~~^~~~~~~~~~
  62. In file included from C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/stl_algobase.h:64,
  63. from C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/char_traits.h:39,
  64. from C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/string:40,
  65. from C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:18:
  66. C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/stl_pair.h:411:2: note: candidate: 'template<class _U1, class _U2> typename std::enable_if<std::__and_<std::is_assignable<_T1&, _U1&&>, std::is_assignable<_T2&, _U2&&> >::value, std::pair<_T1, _T2>&>::type std::pair<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = const std::__cxx11::basic_string<char>; _T2 = int]'
  67. operator=(pair<_U1, _U2>&& __p)
  68. ^~~~~~~~
  69. C:/PROGRA~2/MINGW-~1/I686-8~1.0-P/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/bits/stl_pair.h:411:2: note: template argument deduction/substitution failed:
  70. In file included from C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:22:
  71. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:514:29: note: mismatched types 'std::pair<_T1, _T2>' and 'const int'
  72. data[i] = x.second;
  73. ~~~~~~~~^~~~~~~~~~
  74. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator fefu::hash_map<K, T, Hash, Pred, Alloc>::find(const key_type&) const [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator = fefu::hash_map_const_iterator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = int]':
  75. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:124:13: required from here
  76. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:783:49: error: binding reference of type 'std::vector<char>&' to 'const std::vector<char>' discards qualifiers
  77. return const_iterator(data, state, i);
  78. ^~~~~
  79. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:208:3: note: initializing argument 2 of 'fefu::hash_map_const_iterator<ValueType>::hash_map_const_iterator(fefu::hash_map_const_iterator<ValueType>::pointer, std::vector<char>&, size_t) [with ValueType = std::pair<const int, int>; fefu::hash_map_const_iterator<ValueType>::pointer = const std::pair<const int, int>*; size_t = unsigned int]'
  80. hash_map_const_iterator(pointer p, std::vector<char> &st, size_t pos): start(p), state(st), position(pos) {}
  81. ^~~~~~~~~~~~~~~~~~~~~~~
  82. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator fefu::hash_map<K, T, Hash, Pred, Alloc>::end() const [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator = fefu::hash_map_const_iterator<std::pair<const int, int> >]':
  83. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:124:13: required from here
  84. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:403:37: error: binding reference of type 'std::vector<char>&' to 'const std::vector<char>' discards qualifiers
  85. return const_iterator(data, state, state.size());
  86. ^~~~~
  87. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:208:3: note: initializing argument 2 of 'fefu::hash_map_const_iterator<ValueType>::hash_map_const_iterator(fefu::hash_map_const_iterator<ValueType>::pointer, std::vector<char>&, size_t) [with ValueType = std::pair<const int, int>; fefu::hash_map_const_iterator<ValueType>::pointer = const std::pair<const int, int>*; size_t = unsigned int]'
  88. hash_map_const_iterator(pointer p, std::vector<char> &st, size_t pos): start(p), state(st), position(pos) {}
  89. ^~~~~~~~~~~~~~~~~~~~~~~
  90. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator fefu::hash_map<K, T, Hash, Pred, Alloc>::begin() const [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator = fefu::hash_map_const_iterator<std::pair<const int, int> >]':
  91. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:146:42: required from here
  92. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:382:37: error: binding reference of type 'std::vector<char>&' to 'const std::vector<char>' discards qualifiers
  93. return const_iterator(data, state, 0);
  94. ^~~~~
  95. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:208:3: note: initializing argument 2 of 'fefu::hash_map_const_iterator<ValueType>::hash_map_const_iterator(fefu::hash_map_const_iterator<ValueType>::pointer, std::vector<char>&, size_t) [with ValueType = std::pair<const int, int>; fefu::hash_map_const_iterator<ValueType>::pointer = const std::pair<const int, int>*; size_t = unsigned int]'
  96. hash_map_const_iterator(pointer p, std::vector<char> &st, size_t pos): start(p), state(st), position(pos) {}
  97. ^~~~~~~~~~~~~~~~~~~~~~~
  98. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type&&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>]':
  99. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:471:9: required from 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::try_emplace(fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type&&, _Args&& ...) [with _Args = {int, int}; K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]'
  100. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:33:63: required from here
  101. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:532:5: warning: no return statement in function returning non-void [-Wreturn-type]
  102. }
  103. ^
  104. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = fefu::hash_map_iterator<std::pair<const int, int> >; K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]':
  105. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:709:9: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::merge(fefu::hash_map<K, T, _H2, _P2, Alloc>&) [with _H2 = std::hash<int>; _P2 = std::equal_to<int>; K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]'
  106. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:166:40: required from here
  107. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: error: no matching function for call to 'fefu::hash_map<int, int>::insert(fefu::hash_map_iterator<std::pair<const int, int> >&)'
  108. insert(i);
  109. ^~~~~~
  110. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(const value_type&) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const int, int>]'
  111. std::pair<iterator, bool> insert(const value_type& x) {
  112. ^~~~~~
  113. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: no known conversion for argument 1 from 'fefu::hash_map_iterator<std::pair<const int, int> >' to 'const value_type&' {aka 'const std::pair<const int, int>&'}
  114. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type&&) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const int, int>]'
  115. std::pair<iterator, bool> insert(value_type&& x) {
  116. ^~~~~~
  117. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: no known conversion for argument 1 from 'fefu::hash_map_iterator<std::pair<const int, int> >' to 'fefu::hash_map<int, int>::value_type&&' {aka 'std::pair<const int, int>&&'}
  118. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: candidate: 'template<class _InputIterator> void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]'
  119. void insert(_InputIterator first, _InputIterator last) {
  120. ^~~~~~
  121. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: template argument deduction/substitution failed:
  122. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: note: candidate expects 2 arguments, 1 provided
  123. insert(i);
  124. ^~~~~~
  125. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: candidate: 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(std::initializer_list<std::pair<const _Key, _Tp> >) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]'
  126. void insert(std::initializer_list<value_type> l) {
  127. ^~~~~~
  128. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: no known conversion for argument 1 from 'fefu::hash_map_iterator<std::pair<const int, int> >' to 'std::initializer_list<std::pair<const int, int> >'
  129. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = fefu::hash_map_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]':
  130. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:1024:9: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::rehash(fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type = unsigned int]'
  131. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:870:13: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type&&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type = main()::TestStruct; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]'
  132. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:45:43: required from here
  133. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: error: no matching function for call to 'fefu::hash_map<std::__cxx11::basic_string<char>, main()::TestStruct>::insert(fefu::hash_map_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >&)'
  134. insert(i);
  135. ^~~~~~
  136. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(const value_type&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>]'
  137. std::pair<iterator, bool> insert(const value_type& x) {
  138. ^~~~~~
  139. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: no known conversion for argument 1 from 'fefu::hash_map_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >' to 'const value_type&' {aka 'const std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>&'}
  140. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type&&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>]'
  141. std::pair<iterator, bool> insert(value_type&& x) {
  142. ^~~~~~
  143. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: no known conversion for argument 1 from 'fefu::hash_map_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >' to 'fefu::hash_map<std::__cxx11::basic_string<char>, main()::TestStruct>::value_type&&' {aka 'std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>&&'}
  144. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: candidate: 'template<class _InputIterator> void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]'
  145. void insert(_InputIterator first, _InputIterator last) {
  146. ^~~~~~
  147. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: template argument deduction/substitution failed:
  148. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: note: candidate expects 2 arguments, 1 provided
  149. insert(i);
  150. ^~~~~~
  151. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: candidate: 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(std::initializer_list<std::pair<const _Key, _Tp> >) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]'
  152. void insert(std::initializer_list<value_type> l) {
  153. ^~~~~~
  154. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: no known conversion for argument 1 from 'fefu::hash_map_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >' to 'std::initializer_list<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >'
  155. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = fefu::hash_map_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >; K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]':
  156. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:1024:9: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::rehash(fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type = unsigned int]'
  157. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:837:13: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](const key_type&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type = int; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]'
  158. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:59:18: required from here
  159. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: error: no matching function for call to 'fefu::hash_map<std::__cxx11::basic_string<char>, int>::insert(fefu::hash_map_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >&)'
  160. insert(i);
  161. ^~~~~~
  162. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(const value_type&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const std::__cxx11::basic_string<char>, int>]'
  163. std::pair<iterator, bool> insert(const value_type& x) {
  164. ^~~~~~
  165. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: no known conversion for argument 1 from 'fefu::hash_map_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >' to 'const value_type&' {aka 'const std::pair<const std::__cxx11::basic_string<char>, int>&'}
  166. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type&&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const std::__cxx11::basic_string<char>, int>]'
  167. std::pair<iterator, bool> insert(value_type&& x) {
  168. ^~~~~~
  169. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: no known conversion for argument 1 from 'fefu::hash_map_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >' to 'fefu::hash_map<std::__cxx11::basic_string<char>, int>::value_type&&' {aka 'std::pair<const std::__cxx11::basic_string<char>, int>&&'}
  170. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: candidate: 'template<class _InputIterator> void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]'
  171. void insert(_InputIterator first, _InputIterator last) {
  172. ^~~~~~
  173. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: template argument deduction/substitution failed:
  174. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: note: candidate expects 2 arguments, 1 provided
  175. insert(i);
  176. ^~~~~~
  177. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: candidate: 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(std::initializer_list<std::pair<const _Key, _Tp> >) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]'
  178. void insert(std::initializer_list<value_type> l) {
  179. ^~~~~~
  180. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: no known conversion for argument 1 from 'fefu::hash_map_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >' to 'std::initializer_list<std::pair<const std::__cxx11::basic_string<char>, int> >'
  181. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = const std::pair<const int, int>*; K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]':
  182. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:564:9: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(std::initializer_list<std::pair<const _Key, _Tp> >) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]'
  183. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:312:9: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>::hash_map(std::initializer_list<std::pair<const _Key, _Tp> >, fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type = unsigned int]'
  184. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:118:58: required from here
  185. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: error: no matching function for call to 'fefu::hash_map<int, int>::insert(const std::pair<const int, int>*&)'
  186. insert(i);
  187. ^~~~~~
  188. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(const value_type&) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const int, int>]'
  189. std::pair<iterator, bool> insert(const value_type& x) {
  190. ^~~~~~
  191. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: no known conversion for argument 1 from 'const std::pair<const int, int>*' to 'const value_type&' {aka 'const std::pair<const int, int>&'}
  192. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type&&) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const int, int>]'
  193. std::pair<iterator, bool> insert(value_type&& x) {
  194. ^~~~~~
  195. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: no known conversion for argument 1 from 'const std::pair<const int, int>*' to 'fefu::hash_map<int, int>::value_type&&' {aka 'std::pair<const int, int>&&'}
  196. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: candidate: 'template<class _InputIterator> void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]'
  197. void insert(_InputIterator first, _InputIterator last) {
  198. ^~~~~~
  199. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: template argument deduction/substitution failed:
  200. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: note: candidate expects 2 arguments, 1 provided
  201. insert(i);
  202. ^~~~~~
  203. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: candidate: 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(std::initializer_list<std::pair<const _Key, _Tp> >) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]'
  204. void insert(std::initializer_list<value_type> l) {
  205. ^~~~~~
  206. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: no known conversion for argument 1 from 'const std::pair<const int, int>*' to 'std::initializer_list<std::pair<const int, int> >'
  207. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator fefu::hash_map<K, T, Hash, Pred, Alloc>::begin() const [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator = fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]':
  208. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:319:9: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator=(const fefu::hash_map<K, T, Hash, Pred, Alloc>&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]'
  209. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:1025:15: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::rehash(fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type = unsigned int]'
  210. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:870:13: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type&&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type = main()::TestStruct; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]'
  211. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:45:43: required from here
  212. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:382:37: error: binding reference of type 'std::vector<char>&' to 'const std::vector<char>' discards qualifiers
  213. return const_iterator(data, state, 0);
  214. ^~~~~
  215. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:208:3: note: initializing argument 2 of 'fefu::hash_map_const_iterator<ValueType>::hash_map_const_iterator(fefu::hash_map_const_iterator<ValueType>::pointer, std::vector<char>&, size_t) [with ValueType = std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>; fefu::hash_map_const_iterator<ValueType>::pointer = const std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>*; size_t = unsigned int]'
  216. hash_map_const_iterator(pointer p, std::vector<char> &st, size_t pos): start(p), state(st), position(pos) {}
  217. ^~~~~~~~~~~~~~~~~~~~~~~
  218. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator fefu::hash_map<K, T, Hash, Pred, Alloc>::end() const [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator = fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]':
  219. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:319:9: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator=(const fefu::hash_map<K, T, Hash, Pred, Alloc>&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]'
  220. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:1025:15: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::rehash(fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type = unsigned int]'
  221. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:870:13: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type&&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type = main()::TestStruct; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]'
  222. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:45:43: required from here
  223. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:403:37: error: binding reference of type 'std::vector<char>&' to 'const std::vector<char>' discards qualifiers
  224. return const_iterator(data, state, state.size());
  225. ^~~~~
  226. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:208:3: note: initializing argument 2 of 'fefu::hash_map_const_iterator<ValueType>::hash_map_const_iterator(fefu::hash_map_const_iterator<ValueType>::pointer, std::vector<char>&, size_t) [with ValueType = std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>; fefu::hash_map_const_iterator<ValueType>::pointer = const std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>*; size_t = unsigned int]'
  227. hash_map_const_iterator(pointer p, std::vector<char> &st, size_t pos): start(p), state(st), position(pos) {}
  228. ^~~~~~~~~~~~~~~~~~~~~~~
  229. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]':
  230. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:319:9: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator=(const fefu::hash_map<K, T, Hash, Pred, Alloc>&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]'
  231. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:1025:15: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::rehash(fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type = unsigned int]'
  232. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:870:13: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type&&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type = main()::TestStruct; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]'
  233. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:45:43: required from here
  234. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: error: no matching function for call to 'fefu::hash_map<std::__cxx11::basic_string<char>, main()::TestStruct>::insert(fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >&)'
  235. insert(i);
  236. ^~~~~~
  237. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(const value_type&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>]'
  238. std::pair<iterator, bool> insert(const value_type& x) {
  239. ^~~~~~
  240. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: no known conversion for argument 1 from 'fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >' to 'const value_type&' {aka 'const std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>&'}
  241. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type&&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>]'
  242. std::pair<iterator, bool> insert(value_type&& x) {
  243. ^~~~~~
  244. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: no known conversion for argument 1 from 'fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >' to 'fefu::hash_map<std::__cxx11::basic_string<char>, main()::TestStruct>::value_type&&' {aka 'std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct>&&'}
  245. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: candidate: 'template<class _InputIterator> void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]'
  246. void insert(_InputIterator first, _InputIterator last) {
  247. ^~~~~~
  248. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: template argument deduction/substitution failed:
  249. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: note: candidate expects 2 arguments, 1 provided
  250. insert(i);
  251. ^~~~~~
  252. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: candidate: 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(std::initializer_list<std::pair<const _Key, _Tp> >) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]'
  253. void insert(std::initializer_list<value_type> l) {
  254. ^~~~~~
  255. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: no known conversion for argument 1 from 'fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >' to 'std::initializer_list<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >'
  256. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator fefu::hash_map<K, T, Hash, Pred, Alloc>::begin() const [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator = fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >]':
  257. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:319:9: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator=(const fefu::hash_map<K, T, Hash, Pred, Alloc>&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]'
  258. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:1025:15: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::rehash(fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type = unsigned int]'
  259. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:837:13: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](const key_type&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type = int; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]'
  260. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:59:18: required from here
  261. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:382:37: error: binding reference of type 'std::vector<char>&' to 'const std::vector<char>' discards qualifiers
  262. return const_iterator(data, state, 0);
  263. ^~~~~
  264. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:208:3: note: initializing argument 2 of 'fefu::hash_map_const_iterator<ValueType>::hash_map_const_iterator(fefu::hash_map_const_iterator<ValueType>::pointer, std::vector<char>&, size_t) [with ValueType = std::pair<const std::__cxx11::basic_string<char>, int>; fefu::hash_map_const_iterator<ValueType>::pointer = const std::pair<const std::__cxx11::basic_string<char>, int>*; size_t = unsigned int]'
  265. hash_map_const_iterator(pointer p, std::vector<char> &st, size_t pos): start(p), state(st), position(pos) {}
  266. ^~~~~~~~~~~~~~~~~~~~~~~
  267. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator fefu::hash_map<K, T, Hash, Pred, Alloc>::end() const [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::const_iterator = fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >]':
  268. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:319:9: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator=(const fefu::hash_map<K, T, Hash, Pred, Alloc>&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]'
  269. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:1025:15: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::rehash(fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type = unsigned int]'
  270. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:837:13: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](const key_type&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type = int; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]'
  271. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:59:18: required from here
  272. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:403:37: error: binding reference of type 'std::vector<char>&' to 'const std::vector<char>' discards qualifiers
  273. return const_iterator(data, state, state.size());
  274. ^~~~~
  275. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:208:3: note: initializing argument 2 of 'fefu::hash_map_const_iterator<ValueType>::hash_map_const_iterator(fefu::hash_map_const_iterator<ValueType>::pointer, std::vector<char>&, size_t) [with ValueType = std::pair<const std::__cxx11::basic_string<char>, int>; fefu::hash_map_const_iterator<ValueType>::pointer = const std::pair<const std::__cxx11::basic_string<char>, int>*; size_t = unsigned int]'
  276. hash_map_const_iterator(pointer p, std::vector<char> &st, size_t pos): start(p), state(st), position(pos) {}
  277. ^~~~~~~~~~~~~~~~~~~~~~~
  278. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >; K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]':
  279. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:319:9: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator=(const fefu::hash_map<K, T, Hash, Pred, Alloc>&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]'
  280. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:1025:15: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::rehash(fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type = unsigned int]'
  281. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:837:13: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](const key_type&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type = int; fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type = std::__cxx11::basic_string<char>]'
  282. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:59:18: required from here
  283. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: error: no matching function for call to 'fefu::hash_map<std::__cxx11::basic_string<char>, int>::insert(fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >&)'
  284. insert(i);
  285. ^~~~~~
  286. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(const value_type&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const std::__cxx11::basic_string<char>, int>]'
  287. std::pair<iterator, bool> insert(const value_type& x) {
  288. ^~~~~~
  289. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: no known conversion for argument 1 from 'fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >' to 'const value_type&' {aka 'const std::pair<const std::__cxx11::basic_string<char>, int>&'}
  290. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type&&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const std::__cxx11::basic_string<char>, int>]'
  291. std::pair<iterator, bool> insert(value_type&& x) {
  292. ^~~~~~
  293. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: no known conversion for argument 1 from 'fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >' to 'fefu::hash_map<std::__cxx11::basic_string<char>, int>::value_type&&' {aka 'std::pair<const std::__cxx11::basic_string<char>, int>&&'}
  294. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: candidate: 'template<class _InputIterator> void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]'
  295. void insert(_InputIterator first, _InputIterator last) {
  296. ^~~~~~
  297. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: template argument deduction/substitution failed:
  298. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: note: candidate expects 2 arguments, 1 provided
  299. insert(i);
  300. ^~~~~~
  301. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: candidate: 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(std::initializer_list<std::pair<const _Key, _Tp> >) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]'
  302. void insert(std::initializer_list<value_type> l) {
  303. ^~~~~~
  304. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: no known conversion for argument 1 from 'fefu::hash_map_const_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >' to 'std::initializer_list<std::pair<const std::__cxx11::basic_string<char>, int> >'
  305. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In instantiation of 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = fefu::hash_map_const_iterator<std::pair<const int, int> >; K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]':
  306. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:319:9: required from 'fefu::hash_map<K, T, Hash, Pred, Alloc>& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator=(const fefu::hash_map<K, T, Hash, Pred, Alloc>&) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]'
  307. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:1025:15: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::rehash(fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::size_type = unsigned int]'
  308. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:708:9: required from 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::merge(fefu::hash_map<K, T, _H2, _P2, Alloc>&) [with _H2 = std::hash<int>; _P2 = std::equal_to<int>; K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]'
  309. C:\Users\Svetlana\CLionProjects\hash-map-svevash\main.cpp:166:40: required from here
  310. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: error: no matching function for call to 'fefu::hash_map<int, int>::insert(fefu::hash_map_const_iterator<std::pair<const int, int> >&)'
  311. insert(i);
  312. ^~~~~~
  313. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(const value_type&) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const int, int>]'
  314. std::pair<iterator, bool> insert(const value_type& x) {
  315. ^~~~~~
  316. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:492:31: note: no known conversion for argument 1 from 'fefu::hash_map_const_iterator<std::pair<const int, int> >' to 'const value_type&' {aka 'const std::pair<const int, int>&'}
  317. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: candidate: 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type&&) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >; fefu::hash_map<K, T, Hash, Pred, Alloc>::value_type = std::pair<const int, int>]'
  318. std::pair<iterator, bool> insert(value_type&& x) {
  319. ^~~~~~
  320. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:530:31: note: no known conversion for argument 1 from 'fefu::hash_map_const_iterator<std::pair<const int, int> >' to 'fefu::hash_map<int, int>::value_type&&' {aka 'std::pair<const int, int>&&'}
  321. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: candidate: 'template<class _InputIterator> void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]'
  322. void insert(_InputIterator first, _InputIterator last) {
  323. ^~~~~~
  324. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:550:10: note: template argument deduction/substitution failed:
  325. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:552:13: note: candidate expects 2 arguments, 1 provided
  326. insert(i);
  327. ^~~~~~
  328. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: candidate: 'void fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(std::initializer_list<std::pair<const _Key, _Tp> >) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]'
  329. void insert(std::initializer_list<value_type> l) {
  330. ^~~~~~
  331. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:563:10: note: no known conversion for argument 1 from 'fefu::hash_map_const_iterator<std::pair<const int, int> >' to 'std::initializer_list<std::pair<const int, int> >'
  332. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In member function 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type&&) [with K = std::__cxx11::basic_string<char>; T = main()::TestStruct; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, main()::TestStruct> >]':
  333. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:895:5: warning: control reaches end of non-void function [-Wreturn-type]
  334. }
  335. ^
  336. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In member function 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](const key_type&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]':
  337. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:863:5: warning: control reaches end of non-void function [-Wreturn-type]
  338. }
  339. ^
  340. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In member function 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](fefu::hash_map<K, T, Hash, Pred, Alloc>::key_type&&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]':
  341. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:895:5: warning: control reaches end of non-void function [-Wreturn-type]
  342. }
  343. ^
  344. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In member function 'std::pair<fefu::hash_map_iterator<std::pair<const _Key, _Tp> >, bool> fefu::hash_map<K, T, Hash, Pred, Alloc>::insert(const value_type&) [with K = std::__cxx11::basic_string<char>; T = int; Hash = std::hash<std::__cxx11::basic_string<char> >; Pred = std::equal_to<std::__cxx11::basic_string<char> >; Alloc = fefu::allocator<std::pair<const std::__cxx11::basic_string<char>, int> >]':
  345. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:528:5: warning: control reaches end of non-void function [-Wreturn-type]
  346. }
  347. ^
  348. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp: In member function 'fefu::hash_map<K, T, Hash, Pred, Alloc>::mapped_type& fefu::hash_map<K, T, Hash, Pred, Alloc>::operator[](const key_type&) [with K = int; T = int; Hash = std::hash<int>; Pred = std::equal_to<int>; Alloc = fefu::allocator<std::pair<const int, int> >]':
  349. C:\Users\Svetlana\CLionProjects\hash-map-svevash\hash_map.hpp:863:5: warning: control reaches end of non-void function [-Wreturn-type]
  350. }
  351. ^
  352. mingw32-make.exe[3]: *** [CMakeFiles\hash-map-svevash.dir\build.make:62: CMakeFiles/hash-map-svevash.dir/main.cpp.obj] Error 1
  353. mingw32-make.exe[2]: *** [CMakeFiles\Makefile2:75: CMakeFiles/hash-map-svevash.dir/all] Error 2
  354. mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:82: CMakeFiles/hash-map-svevash.dir/rule] Error 2
  355. mingw32-make.exe: *** [Makefile:117: hash-map-svevash] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement