25#ifndef _STLP_INTERNAL_ALLOC_H
29#if defined (__WATCOMC__)
37template <
class _Alloc>
39 size_t __total_extra = __extra_before_chunk() + __extra_after_chunk();
40 size_t __real_n =
__n + __total_extra;
50 return ((
char*)__result) + (
long)__extra_before;
53template <
class _Alloc>
64 for (__tmp = (
unsigned char*)(__real_p + 1); __tmp < (
unsigned char*)__p; ++__tmp) {
68 size_t __real_n =
__n + __extra_before_chunk() + __extra_after_chunk();
71 __tmp < ((
unsigned char*)__real_p) + __real_n ; ++__tmp) {
76 __real_p->
__magic = __deleted_magic;
78 __allocator_type::deallocate(__real_p, __real_n);
#define _STLP_VERBOSE_ASSERT(expr, diagnostic)
#define _STLP_THROW_BAD_ALLOC
static void *_STLP_CALL allocate(size_t)
static void _STLP_CALL deallocate(void *, size_t)
_Alloc::value_type value_type
#define _STLP_BEGIN_NAMESPACE
#define _STLP_END_NAMESPACE