function object
std::ranges::destroy_at
- Header
<memory>- Scope
std::ranges- cppreference
- std::ranges::destroy_at
Synopsis
inline constexpr /* implementation-defined */ destroy_at = {};Call signatures
destroy_at is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.
- (1)
template<class T> requires std::is_nothrow_destructible_v<T> static constexpr void destroy_at(T* location) noexcept;