tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
destroy_at.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename T>
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(). If T is an array type, recursively destroys elements of *p in order, as if by calling destroy(begin(*p), end(*p)).