Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.63 KB | None | 0 0
  1. g++ -O2 -D _SUNOS test.cc /materialy/AISDI/hash/timer.cc /materialy/AISDI/tests/ltest_hash.so -o asd
  2. In file included from test.cc:6:0:
  3. aisdihashmap.h: In instantiation of ‘AISDIHashMap<K, V, hashFunc, compFunc>::iterator AISDIHashMap<K, V, hashFunc, compFunc>::find(const K&) [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >]’:
  4. test.cc:22:56: required from here
  5. aisdihashmap.h:537:34: error: could not convert ‘(0, iter)’ from ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::List_it {aka ListNode<std::basic_string<char>, int>::iterator}’ to ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’
  6. aisdihashmap.h: In instantiation of ‘AISDIHashMap<K, V, hashFunc, compFunc>::size_type AISDIHashMap<K, V, hashFunc, compFunc>::size() const [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >; AISDIHashMap<K, V, hashFunc, compFunc>::size_type = unsigned int]’:
  7. test.cc:23:42: required from here
  8. aisdihashmap.h:576:33: error: conversion from ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::const_iterator’ to non-scalar type ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ requested
  9. aisdihashmap.h:576:33: error: no match for ‘operator!=’ in ‘iter != AISDIHashMap<K, V, hashFunc, compFunc>::end() const [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >]()’
  10. aisdihashmap.h:576:33: note: candidates are:
  11. aisdihashmap.h:471:15: note: bool AISDIHashMap<K, V, hashFunc, compFunc>::iterator::operator!=(const AISDIHashMap<K, V, hashFunc, compFunc>::iterator&) const [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >; AISDIHashMap<K, V, hashFunc, compFunc>::iterator = AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator]
  12. aisdihashmap.h:471:15: note: no known conversion for argument 1 from ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::const_iterator’ to ‘const AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator&’
  13. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_algobase.h:65:0,
  14. from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_tree.h:63,
  15. from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/map:60,
  16. from test.cc:1:
  17. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_pair.h:219:5: note: template<class _T1, class _T2> bool std::operator!=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
  18. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_pair.h:219:5: note: template argument deduction/substitution failed:
  19. In file included from test.cc:6:0:
  20. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::pair<_T1, _T2>’
  21. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_algobase.h:68:0,
  22. from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_tree.h:63,
  23. from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/map:60,
  24. from test.cc:1:
  25. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_iterator.h:305:5: note: template<class _Iterator> bool std::operator!=(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
  26. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_iterator.h:305:5: note: template argument deduction/substitution failed:
  27. In file included from test.cc:6:0:
  28. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::reverse_iterator<_Iterator>’
  29. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_algobase.h:68:0,
  30. from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_tree.h:63,
  31. from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/map:60,
  32. from test.cc:1:
  33. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_iterator.h:355:5: note: template<class _IteratorL, class _IteratorR> bool std::operator!=(const std::reverse_iterator<_IteratorL>&, const std::reverse_iterator<_IteratorR>&)
  34. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_iterator.h:355:5: note: template argument deduction/substitution failed:
  35. In file included from test.cc:6:0:
  36. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::reverse_iterator<_IteratorL>’
  37. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_tree.h:64:0,
  38. from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/map:60,
  39. from test.cc:1:
  40. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/allocator.h:129:5: note: template<class _T1, class _T2> bool std::operator!=(const std::allocator<_T1>&, const std::allocator<_T2>&)
  41. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/allocator.h:129:5: note: template argument deduction/substitution failed:
  42. In file included from test.cc:6:0:
  43. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::allocator<_T1>’
  44. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_tree.h:64:0,
  45. from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/map:60,
  46. from test.cc:1:
  47. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/allocator.h:134:5: note: template<class _Tp> bool std::operator!=(const std::allocator<_Tp1>&, const std::allocator<_Tp1>&)
  48. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/allocator.h:134:5: note: template argument deduction/substitution failed:
  49. In file included from test.cc:6:0:
  50. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::allocator<_Tp1>’
  51. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/map:60:0,
  52. from test.cc:1:
  53. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_tree.h:315:5: note: template<class _Val> bool std::operator!=(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
  54. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_tree.h:315:5: note: template argument deduction/substitution failed:
  55. In file included from test.cc:6:0:
  56. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::_Rb_tree_iterator<_Tp>’
  57. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/map:60:0,
  58. from test.cc:1:
  59. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_tree.h:883:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator!=(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
  60. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_tree.h:883:5: note: template argument deduction/substitution failed:
  61. In file included from test.cc:6:0:
  62. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>’
  63. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/map:61:0,
  64. from test.cc:1:
  65. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_map.h:913:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator!=(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
  66. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_map.h:913:5: note: template argument deduction/substitution failed:
  67. In file included from test.cc:6:0:
  68. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’
  69. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/map:62:0,
  70. from test.cc:1:
  71. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_multimap.h:829:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator!=(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
  72. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_multimap.h:829:5: note: template argument deduction/substitution failed:
  73. In file included from test.cc:6:0:
  74. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’
  75. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/char_traits.h:42:0,
  76. from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/string:42,
  77. from test.cc:2:
  78. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/postypes.h:223:5: note: template<class _StateT> bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
  79. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/postypes.h:223:5: note: template argument deduction/substitution failed:
  80. In file included from test.cc:6:0:
  81. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::fpos<_StateT>’
  82. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/string:54:0,
  83. from test.cc:2:
  84. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:2529:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
  85. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:2529:5: note: template argument deduction/substitution failed:
  86. In file included from test.cc:6:0:
  87. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
  88. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/string:54:0,
  89. from test.cc:2:
  90. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:2541:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
  91. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:2541:5: note: template argument deduction/substitution failed:
  92. In file included from test.cc:6:0:
  93. aisdihashmap.h:576:33: note: mismatched types ‘const _CharT*’ and ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’
  94. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/string:54:0,
  95. from test.cc:2:
  96. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:2553:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator!=(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
  97. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:2553:5: note: template argument deduction/substitution failed:
  98. In file included from test.cc:6:0:
  99. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
  100. In file included from /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/vector:65:0,
  101. from /materialy/AISDI/hash/maptester.h:4,
  102. from test.cc:13:
  103. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_vector.h:1394:5: note: template<class _Tp, class _Alloc> bool std::operator!=(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
  104. /opt/gcc-4.7.2/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/stl_vector.h:1394:5: note: template argument deduction/substitution failed:
  105. In file included from test.cc:6:0:
  106. aisdihashmap.h:576:33: note: ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator’ is not derived from ‘const std::vector<_Tp, _Alloc>’
  107. aisdihashmap.h: In instantiation of ‘AISDIHashMap<K, V, hashFunc, compFunc>::const_iterator AISDIHashMap<K, V, hashFunc, compFunc>::begin() const [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >]’:
  108. aisdihashmap.h:576:33: required from ‘AISDIHashMap<K, V, hashFunc, compFunc>::size_type AISDIHashMap<K, V, hashFunc, compFunc>::size() const [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >; AISDIHashMap<K, V, hashFunc, compFunc>::size_type = unsigned int]’
  109. test.cc:23:42: required from here
  110. aisdihashmap.h:493:53: error: no matching function for call to ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::const_iterator::const_iterator(ListNode<std::basic_string<char>, int>* const&, ListNode<std::basic_string<char>, int>::iterator, int)’
  111. aisdihashmap.h:493:53: note: candidates are:
  112. aisdihashmap.h:334:3: note: AISDIHashMap<K, V, hashFunc, compFunc>::const_iterator::const_iterator(ListNode<K, V>*, AISDIHashMap<K, V, hashFunc, compFunc>::List_it&, unsigned int) [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >; AISDIHashMap<K, V, hashFunc, compFunc>::List_it = ListNode<std::basic_string<char>, int>::iterator]
  113. aisdihashmap.h:334:3: note: no known conversion for argument 2 from ‘ListNode<std::basic_string<char>, int>::iterator’ to ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::List_it& {aka ListNode<std::basic_string<char>, int>::iterator&}’
  114. aisdihashmap.h:333:3: note: AISDIHashMap<K, V, hashFunc, compFunc>::const_iterator::const_iterator(ListNode<K, V>*, unsigned int, AISDIHashMap<K, V, hashFunc, compFunc>::List_const_it&) [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >; AISDIHashMap<K, V, hashFunc, compFunc>::List_const_it = ListNode<std::basic_string<char>, int>::const_iterator]
  115. aisdihashmap.h:333:3: note: no known conversion for argument 2 from ‘ListNode<std::basic_string<char>, int>::iterator’ to ‘unsigned int’
  116. aisdihashmap.h:332:3: note: AISDIHashMap<K, V, hashFunc, compFunc>::const_iterator::const_iterator(const AISDIHashMap<K, V, hashFunc, compFunc>::const_iterator&) [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >; AISDIHashMap<K, V, hashFunc, compFunc>::const_iterator = AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::const_iterator]
  117. aisdihashmap.h:332:3: note: candidate expects 1 argument, 3 provided
  118. aisdihashmap.h:331:3: note: AISDIHashMap<K, V, hashFunc, compFunc>::const_iterator::const_iterator() [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >]
  119. aisdihashmap.h:331:3: note: candidate expects 0 arguments, 3 provided
  120. aisdihashmap.h: In instantiation of ‘AISDIHashMap<K, V, hashFunc, compFunc>::iterator AISDIHashMap<K, V, hashFunc, compFunc>::erase(AISDIHashMap<K, V, hashFunc, compFunc>::iterator) [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >]’:
  121. aisdihashmap.h:612:6: required from ‘AISDIHashMap<K, V, hashFunc, compFunc>::iterator AISDIHashMap<K, V, hashFunc, compFunc>::erase(AISDIHashMap<K, V, hashFunc, compFunc>::iterator, AISDIHashMap<K, V, hashFunc, compFunc>::iterator) [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >]’
  122. aisdihashmap.h:630:5: required from ‘void AISDIHashMap<K, V, hashFunc, compFunc>::clear() [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >]’
  123. aisdihashmap.h:305:5: required from ‘AISDIHashMap<K, V, hashFunc, compFunc>::~AISDIHashMap() [with K = std::basic_string<char>; V = int; unsigned int (* hashFunc)(const K&) = hashF; bool (* compFunc)(const K&, const K&) = _compFunc<std::basic_string<char> >]’
  124. test.cc:7:53: required from here
  125. aisdihashmap.h:599:5: error: invalid use of ‘AISDIHashMap<std::basic_string<char>, int, hashF, _compFunc<std::basic_string<char> > >::iterator::iterator’
  126. make: *** [asd] Error 1
  127. lab011% pgrep -u jguzek
  128. 6518
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement