3#ifndef TETL_MEMORY_DESTROY_AT_HPP
4#define TETL_MEMORY_DESTROY_AT_HPP
19 for (
auto& elem : *p) {
Definition adjacent_find.hpp:8
constexpr auto addressof(T &arg) noexcept -> T *
Obtains the actual address of the object or function arg, even in presence of overloaded operator&.
Definition addressof.hpp:15
constexpr bool is_array_v
Definition is_array.hpp:26
constexpr auto destroy_at(T *p) -> void
If T is not an array type, calls the destructor of the object pointed to by p, as if by p->~T()....
Definition destroy_at.hpp:16