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

Method destroy

benchmarks/dlib/std_allocator.h:108–112  ·  view source on GitHub ↗

destroy elements of initialized storage p

Source from the content-addressed store, hash-verified

106
107 //destroy elements of initialized storage p
108 void destroy (pointer p)
109 {
110 // destroy objects by calling their destructor
111 p->~T();
112 }
113
114 //deallocate storage p of deleted elements
115 void deallocate (pointer p, size_type )

Callers 3

destroyMethod · 0.45
destroyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected