8#ifndef INCLUDED_BSLALG_ARRAYDESTRUCTIONPRIMITIVES
9#define INCLUDED_BSLALG_ARRAYDESTRUCTIONPRIMITIVES
134#include <bslscm_version.h>
170 template <
class TARGET_TYPE,
class ALLOCATOR>
171 static void destroy(TARGET_TYPE *begin,
175 template <
class TARGET_TYPE,
class ALLOCATOR>
176 static void destroy(TARGET_TYPE *begin,
187 template <
class TARGET_TYPE>
189 template <
class TARGET_TYPE>
209 template <
class TARGET_TYPE,
class ALLOCATOR>
211 destroy(TARGET_TYPE *begin, TARGET_TYPE *end, ALLOCATOR allocator);
223 template <
class TARGET_TYPE>
224 static void destroy(TARGET_TYPE *begin, TARGET_TYPE *end);
236template <
class TARGET_TYPE,
class ALLOCATOR>
246#ifdef BSLS_ASSERT_SAFE_IS_ACTIVE
256template <
class TARGET_TYPE,
class ALLOCATOR>
262 for (; begin != end; ++begin) {
267template <
class TARGET_TYPE>
276#ifdef BSLS_ASSERT_SAFE_IS_ACTIVE
284template <
class TARGET_TYPE>
289 for (; begin != end; ++begin) {
290 begin->~TARGET_TYPE();
295template <
class TARGET_TYPE,
class ALLOCATOR>
311template <
class TARGET_TYPE>
327#ifndef BDE_OPENSOURCE_PUBLICATION
bslalg::ArrayDestructionPrimitives bslalg_ArrayDestructionPrimitives
This alias is defined for backward compatibility.
Definition bslalg_arraydestructionprimitives.h:333
#define BSLS_ASSERT_SAFE(X)
Definition bsls_assert.h:1917
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bdlc_flathashmap.h:2218
static void destroy(ALLOCATOR_TYPE &basicAllocator, ELEMENT_TYPE *elementAddr)
Definition bslma_allocatortraits.h:1549
Definition bslalg_arraydestructionprimitives.h:160
static void destroy(TARGET_TYPE *begin, TARGET_TYPE *end, ALLOCATOR allocator, bsl::true_type)
Definition bslalg_arraydestructionprimitives.h:238
static void scribbleOverMemory(void *ptr, size_t numBytes)