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

Method pop

benchmarks/dlib/stack/stack_kernel_c.h:60–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected