35#ifndef _BLAZE_UTIL_ALGORITHMS_DESTROY_H_
36#define _BLAZE_UTIL_ALGORITHMS_DESTROY_H_
66template<
typename ForwardIt >
67void destroy( ForwardIt first, ForwardIt last )
69 for( ; first!=last; ++first ) {
86template<
typename ForwardIt >
89 for( ; n > 0UL; (void) ++first, --n ) {
Header file for the generic destroy_at algorithm.
void destroy(ForwardIt first, ForwardIt last)
Destroys the given range of objects .
Definition: Destroy.h:67
void destroy_n(ForwardIt first, size_t n)
Destroys the given range of objects .
Definition: Destroy.h:87
void destroy_at(T *p) noexcept
Destroys the object at the given address.
Definition: DestroyAt.h:57
Header file for basic type definitions.