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

Method clear

extern/libcds/cds/intrusive/msqueue.h:572–575  ·  view source on GitHub ↗

Clear the queue The function repeatedly calls \p dequeue() until it returns \p nullptr. The disposer defined in template \p Traits is called for each item that can be safely disposed. */

Source from the content-addressed store, hash-verified

570 that can be safely disposed.
571 */
572 void clear()
573 {
574 while ( dequeue());
575 }
576
577 /// Returns queue's item count
578 /**

Callers 7

clearFunction · 0.45
~SplitListSetFunction · 0.45
~SplitListSetFunction · 0.45
clearFunction · 0.45
fcqueue.hFile · 0.45
fcstack.hFile · 0.45
clearFunction · 0.45

Calls 1

dequeueFunction · 0.70

Tested by

no test coverage detected