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>
64 typedef typename _Alloc::template rebind<_VTp> __rebind_v;
67 typedef typename __rebind_v::other::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
Entry predicate primary class template.
GNU extensions for policy-based data structures for public use.