Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /usr/include/c++/4.9/bits/hashtable.h:35:0,
- from /usr/include/c++/4.9/unordered_set:47,
- from test.cpp:1:
- /usr/include/c++/4.9/bits/hashtable_policy.h: In instantiation of ‘struct std::__detail::__is_noexcept_hash<Test, std::hash<Test> >’:
- /usr/include/c++/4.9/type_traits:134:12: required from ‘struct std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > >’
- /usr/include/c++/4.9/type_traits:145:38: required from ‘struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- /usr/include/c++/4.9/bits/unordered_set.h:95:63: required from ‘class std::unordered_set<Test>’
- test.cpp:9:25: required from here
- /usr/include/c++/4.9/bits/hashtable_policy.h:85:33: error: no match for call to ‘(const std::hash<Test>) (const Test&)’
- noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
- ^
- In file included from /usr/include/c++/4.9/bits/move.h:57:0,
- from /usr/include/c++/4.9/bits/stl_pair.h:59,
- from /usr/include/c++/4.9/utility:70,
- from /usr/include/c++/4.9/unordered_set:38,
- from test.cpp:1:
- /usr/include/c++/4.9/type_traits: In instantiation of ‘struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’:
- /usr/include/c++/4.9/bits/unordered_set.h:95:63: required from ‘class std::unordered_set<Test>’
- test.cpp:9:25: required from here
- /usr/include/c++/4.9/type_traits:145:38: error: ‘value’ is not a member of ‘std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > >’
- : public integral_constant<bool, !_Pp::value>
- ^
- In file included from /usr/include/c++/4.9/unordered_set:48:0,
- from test.cpp:1:
- /usr/include/c++/4.9/bits/unordered_set.h: In instantiation of ‘class std::unordered_set<Test>’:
- test.cpp:9:25: required from here
- /usr/include/c++/4.9/bits/unordered_set.h:95:63: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef __uset_hashtable<_Value, _Hash, _Pred, _Alloc> _Hashtable;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:102:45: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::key_type key_type;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:103:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::value_type value_type;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:104:43: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::hasher hasher;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:105:46: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::key_equal key_equal;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:106:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::allocator_type allocator_type;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:111:45: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::pointer pointer;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:112:50: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::const_pointer const_pointer;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:113:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::reference reference;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:114:52: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::const_reference const_reference;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:115:46: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::iterator iterator;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:116:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::const_iterator const_iterator;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:117:51: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::local_iterator local_iterator;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:118:57: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::const_local_iterator const_local_iterator;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:119:47: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::size_type size_type;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:120:52: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- typedef typename _Hashtable::difference_type difference_type;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:235:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- operator=(initializer_list<value_type> __l)
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:329:2: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- emplace(_Args&&... __args)
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:373:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- insert(const value_type& __x)
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:377:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- insert(value_type&& __x)
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:432:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- insert(initializer_list<value_type> __l)
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:577:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- equal_range(const key_type& __x)
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:581:7: error: ‘value’ is not a member of ‘std::__not_<std::__and_<std::__is_fast_hash<std::hash<Test> >, std::__detail::__is_noexcept_hash<Test, std::hash<Test> > > >’
- equal_range(const key_type& __x) const
- ^
- test.cpp: In function ‘int main()’:
- test.cpp:9:25: error: no matching function for call to ‘std::unordered_set<Test>::unordered_set()’
- unordered_set<Test> h;
- ^
- test.cpp:9:25: note: candidates are:
- In file included from /usr/include/c++/4.9/unordered_set:48:0,
- from test.cpp:1:
- /usr/include/c++/4.9/bits/unordered_set.h:165:7: note: std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred, _Alloc>&&) [with _Value = Test; _Hash = std::hash<Test>; _Pred = std::equal_to<Test>; _Alloc = std::allocator<Test>]
- unordered_set(unordered_set&&) = default;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:165:7: note: candidate expects 1 argument, 0 provided
- /usr/include/c++/4.9/bits/unordered_set.h:162:7: note: std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(const std::unordered_set<_Value, _Hash, _Pred, _Alloc>&) [with _Value = Test; _Hash = std::hash<Test>; _Pred = std::equal_to<Test>; _Alloc = std::allocator<Test>]
- unordered_set(const unordered_set&) = default;
- ^
- /usr/include/c++/4.9/bits/unordered_set.h:162:7: note: candidate expects 1 argument, 0 provided
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement