41 #ifndef PB_DS_BINARY_HEAP_ENTRY_CMP_HPP
42 #define PB_DS_BINARY_HEAP_ENTRY_CMP_HPP
49 template<
typename _VTp,
typename Cmp_Fn,
typename _Alloc,
bool No_Throw>
53 template<
typename _VTp,
typename Cmp_Fn,
typename _Alloc>
61 template<
typename _VTp,
typename Cmp_Fn,
typename _Alloc>
68 typedef typename __rebind_v::const_pointer entry;
71 struct type :
public Cmp_Fn
75 type(
const Cmp_Fn& other) : Cmp_Fn(other) { }
78 operator()(entry lhs, entry rhs)
const
79 {
return Cmp_Fn::operator()(*lhs, *rhs); }
GNU extensions for policy-based data structures for public use.
Consistent API for accessing allocator-related types.
Entry compare, primary template.