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

Method remove

dlib/sequence/sequence_kernel_c.h:122–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 typename seq_base
121 >
122 void sequence_kernel_c<seq_base>::
123 remove (
124 unsigned long pos,
125 T& item
126 )
127 {
128 // make sure requires clause is not broken
129 DLIB_CASSERT(( pos < this->size() ),
130 "\tvoid sequence::remove"
131 << "\n\tpos must be >= 0 and < size()"
132 << "\n\tpos: " << pos
133 << "\n\tsize(): " << this->size()
134 << "\n\tthis: " << this
135 );
136
137 // call the real function
138 seq_base::remove(pos,item);
139
140 }
141
142// ----------------------------------------------------------------------------------------
143

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected