MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / dequeue_with

Method dequeue_with

extern/libcds/cds/container/msqueue.h:356–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354 */
355 template <typename Func>
356 bool dequeue_with( Func f )
357 {
358 typename base_class::dequeue_result res;
359 if ( base_class::do_dequeue( res )) {
360 f( node_traits::to_value_ptr( *res.pNext )->m_value );
361 base_class::dispose_result( res );
362 return true;
363 }
364 return false;
365 }
366
367 /// Synonym for \p dequeue() function
368 bool pop( value_type& dest )

Callers 6

testMethod · 0.45
test_stringMethod · 0.45
testMethod · 0.45
test_stringMethod · 0.45
testMethod · 0.45
test_stringMethod · 0.45

Calls

no outgoing calls

Tested by 6

testMethod · 0.36
test_stringMethod · 0.36
testMethod · 0.36
test_stringMethod · 0.36
testMethod · 0.36
test_stringMethod · 0.36