MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / destroy_range

Method destroy_range

paddle/utils/small_vector.h:385–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383 : small_vector_template_common<T>(Size) {}
384
385 static void destroy_range(T *S, T *E) {
386 while (S != E) {
387 --E;
388 E->~T();
389 }
390 }
391
392 /// Move the range [I, E) into the uninitialized memory starting with "Dest",
393 /// constructing elements as needed.

Callers 8

growAndAssignMethod · 0.95
clearMethod · 0.45
pop_back_nMethod · 0.45
assignMethod · 0.45
eraseMethod · 0.45
swapMethod · 0.45
small_vector.hFile · 0.45
~small_vectorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected