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

Method remove_any

benchmarks/dlib/stack/stack_kernel_c.h:167–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 typename stack_base
166 >
167 void stack_kernel_c<stack_base>::
168 remove_any (
169 T& item
170 )
171 {
172 // make sure requires clause is not broken
173 DLIB_CASSERT( (this->size() > 0),
174 "\tvoid stack::remove_any"
175 << "\n\tsize() must be greater than zero if something is going to be removed"
176 << "\n\tsize(): " << this->size()
177 << "\n\tthis: " << this
178 );
179
180 // call the real function
181 stack_base::remove_any(item);
182 }
183
184// ----------------------------------------------------------------------------------------
185

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected