MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / delete_nodes

Method delete_nodes

benchmarks/dlib/queue/queue_kernel_1.h:533–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531 typename mem_manager
532 >
533 void queue_kernel_1<T,mem_manager>::
534 delete_nodes (
535 node* start,
536 unsigned long length
537 )
538 {
539 node* temp;
540 while (length)
541 {
542 temp = start->last;
543 delete start;
544 start = temp;
545 --length;
546 }
547 }
548
549// ----------------------------------------------------------------------------------------
550

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected