MCPcopy Create free account
hub / github.com/davisking/dlib / remove_any

Method remove_any

dlib/sequence/sequence_kernel_c.h:231–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 typename seq_base
230 >
231 void sequence_kernel_c<seq_base>::
232 remove_any (
233 T& item
234 )
235 {
236 // make sure requires clause is not broken
237 DLIB_CASSERT( (this->size() > 0),
238 "\tvoid sequence::remove_any"
239 << "\n\tsize() must be greater than zero if something is going to be removed"
240 << "\n\tsize(): " << this->size()
241 << "\n\tthis: " << this
242 );
243
244 // call the real function
245 seq_base::remove_any(item);
246 }
247
248// ----------------------------------------------------------------------------------------
249

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected