10 struct DestroyAtFunction {
11 template<concepts::Destructible T>
12 constexpr void operator()(T* pointer)
const {
13 if constexpr (concepts::LanguageArray<T>) {
14 for (
auto& item : *pointer) {
15 (*this)(util::addressof(item));
17 }
else if constexpr (!concepts::TriviallyDestructible<T>) {
24constexpr inline auto destroy_at = detail::DestroyAtFunction {};
constexpr auto destroy_at
Definition destroy_at.h:24
Definition any_storable.h:9