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

Method dequeue

benchmarks/dlib/queue/queue_kernel_c.h:62–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 typename queue_base
61 >
62 void queue_kernel_c<queue_base>::
63 dequeue (
64 T& item
65 )
66 {
67
68 // make sure requires clause is not broken
69 DLIB_CASSERT(this->size() != 0,
70 "\tvoid queue::dequeue"
71 << "\n\tsize of queue should not be zero"
72 << "\n\tthis: " << this
73 );
74
75 // call the real function
76 queue_base::dequeue(item);
77
78 }
79
80// ----------------------------------------------------------------------------------------
81

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected