Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ destroy
Method
destroy
cpp/src/arrow/util/aligned_storage.h:45–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
44
45
void destroy() noexcept {
46
if (!std::is_trivially_destructible<T>::value) {
47
get()->~T();
48
}
49
}
50
51
template <typename... A>
52
void construct(A&&... args) noexcept {
Callers
4
is_trivially_copyable_v<T>, T> SafeLoadAs
Method · 0.45
is_trivially_copyable_v<T>, T> SafeLoad
Method · 0.45
is_trivially_copyable_v<U> && sizeof(T) == sizeof(U), U> SafeCopy
Method · 0.45
aligned_storage.h
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected