41 #ifndef PB_DS_BINARY_HEAP_ENTRY_PRED_HPP 42 #define PB_DS_BINARY_HEAP_ENTRY_PRED_HPP 49 template<
typename _VTp,
typename Pred,
typename _Alloc,
bool No_Throw>
53 template<
typename _VTp,
typename Pred,
typename _Alloc>
60 template<
typename _VTp,
typename Pred,
typename _Alloc>
67 typedef typename __rebind_v::const_pointer entry;
69 struct type :
public Pred
75 type(
const Pred& other) : Pred(other) { }
78 operator()(entry p_v)
const 79 {
return Pred::operator()(*p_v); }
85 #endif // #ifndef PB_DS_BINARY_HEAP_ENTRY_PRED_HPP GNU extensions for policy-based data structures for public use.
Entry predicate primary class template.
Consistent API for accessing allocator-related types.