2 // { dg-require-effective-target c++11 }
4 template < typename _Tp, _Tp __v > struct integral_constant
6 static constexpr _Tp value = __v;
8 template < bool, typename, typename > struct conditional;
9 template < typename ... >struct __and_;
15 _B2 > struct __and_ <_B1, _B2 >:conditional < _B1::value, _B2, _B1 >::type
17 template < typename _Pp > struct __not_:integral_constant < bool, _Pp::value >
19 template < typename > struct add_rvalue_reference;
21 < typename _Tp > typename add_rvalue_reference < _Tp >::type declval ();
22 template < bool, typename _Iftrue, typename > struct conditional
26 template < class, class > struct pair;
27 template < typename > class allocator;
28 template < typename, typename, typename > struct binary_function;
29 template < typename _Tp > struct equal_to:binary_function < _Tp, _Tp, bool >
31 template < typename > struct hash;
32 template < >struct hash <int >
39 typename, typename, typename, typename, typename > struct _Hashtable_base;
44 > struct __is_noexcept_hash:integral_constant < bool, noexcept ((declval)) >
48 template < bool, bool _Constant_iterators, bool > struct _Hashtable_traits
50 struct _Mod_range_hashing;
51 struct _Default_ranged_hash;
52 struct _Prime_rehash_policy;
68 < bool, __is_final (_Hash) >, __is_noexcept_hash < _Tp, _Hash > >>;
69 template < typename _Key, typename _Value, typename, typename _ExtractKey, typename _Equal, typename _H1, typename _H2, typename, typename _RehashPolicy, typename _Traits > class _Hashtable:
71 < _Key, _Value, _ExtractKey, _Equal, _H1, _H2, _RehashPolicy, _Traits >
77 _Cache > using __uset_traits = _Hashtable_traits < _Cache, true, true >;
126 _Mod_range_hashing, _Default_ranged_hash, _Prime_rehash_policy, _Tr >;
127 template < class _Value, class = hash < _Value > >class unordered_set
129 typedef __uset_hashtable < _Value > iterator;
130 template < typename > pair < iterator, bool > emplace ();
133 template class unordered_set < int >;