template <typename Q, typename Less>
bool erase_with( Q const& key, Less pred )
{
+ CDS_UNUSED( pred );
return erase_at( &m_Head, key, cds::opt::details::make_comparator_from_less<Less>() );
}
template <typename Q, typename Less, typename Func>
bool erase_with( const Q& key, Less pred, Func func )
{
+ CDS_UNUSED( pred );
return erase_at( &m_Head, key, cds::opt::details::make_comparator_from_less<Less>(), func );
}
template <typename Q, typename Less>
guarded_ptr extract_with( Q const& key, Less pred )
{
+ CDS_UNUSED( pred );
guarded_ptr gp;
extract_at( &m_Head, gp.guard(), key, cds::opt::details::make_comparator_from_less<Less>() );
return gp;
template <typename Q, typename Less, typename Func>
bool find_with( Q& key, Less pred, Func f )
{
+ CDS_UNUSED( pred );
return find_at( &m_Head, key, cds::opt::details::make_comparator_from_less<Less>(), f );
}
//@cond
template <typename Q, typename Less, typename Func>
bool find_with( Q const& key, Less pred, Func f )
{
+ CDS_UNUSED( pred );
return find_at( &m_Head, key, cds::opt::details::make_comparator_from_less<Less>(), f );
}
//@endcond
template <typename Q, typename Less>
bool find_with( Q const& key, Less pred )
{
+ CDS_UNUSED( pred );
return find_at( &m_Head, key, cds::opt::details::make_comparator_from_less<Less>() );
}
template <typename Q, typename Less>
guarded_ptr get_with( Q const& key, Less pred )
{
+ CDS_UNUSED( pred );
guarded_ptr gp;
get_at( &m_Head, gp.guard(), key, cds::opt::details::make_comparator_from_less<Less>() );
return gp;