23extern void __CRTDECL
operator delete(
void *
p)
noexcept {
rpfree(p); }
25extern void __CRTDECL
operator delete[](
void *
p)
noexcept {
rpfree(p); }
27extern void *__CRTDECL
operator new(std::size_t
size)
noexcept(
false) {
31extern void *__CRTDECL
operator new[](std::size_t
size)
noexcept(
false) {
35extern void *__CRTDECL
operator new(std::size_t
size,
36 const std::nothrow_t &tag)
noexcept {
41extern void *__CRTDECL
operator new[](std::size_t
size,
42 const std::nothrow_t &tag)
noexcept {
47#if (__cplusplus >= 201402L || _MSC_VER >= 1916)
49extern void __CRTDECL
operator delete(
void *
p, std::size_t
size)
noexcept {
54extern void __CRTDECL
operator delete[](
void *
p, std::size_t
size)
noexcept {
61#if (__cplusplus > 201402L || defined(__cpp_aligned_new))
63extern void __CRTDECL
operator delete(
void *
p,
64 std::align_val_t align)
noexcept {
69extern void __CRTDECL
operator delete[](
void *
p,
70 std::align_val_t align)
noexcept {
75extern void __CRTDECL
operator delete(
void *
p, std::size_t
size,
76 std::align_val_t align)
noexcept {
82extern void __CRTDECL
operator delete[](
void *
p, std::size_t
size,
83 std::align_val_t align)
noexcept {
89extern void *__CRTDECL
operator new(std::size_t
size,
90 std::align_val_t align)
noexcept(
false) {
94extern void *__CRTDECL
operator new[](std::size_t
size,
95 std::align_val_t align)
noexcept(
false) {
99extern void *__CRTDECL
operator new(std::size_t
size, std::align_val_t align,
100 const std::nothrow_t &tag)
noexcept {
105extern void *__CRTDECL
operator new[](std::size_t
size, std::align_val_t align,
106 const std::nothrow_t &tag)
noexcept {
auto size(R &&Range, std::enable_if_t< std::is_base_of< std::random_access_iterator_tag, typename std::iterator_traits< decltype(Range.begin())>::iterator_category >::value, void > *=nullptr)
Get the size of a range.
void rpfree(void *ptr)
Free the given memory block.
RPMALLOC_ALLOCATOR void * rpmalloc(size_t size)
Allocate a memory block of at least the given size.
RPMALLOC_ALLOCATOR void * rpaligned_alloc(size_t alignment, size_t size)
Allocate a memory block of at least the given size and alignment.