/*
7 * MenTaLguY <mental@rydia.net>
9 * Copyright (C) 2018 Authors
10 * Released under GNU GPL v2+, read the file
'COPYING' for more information.
13#ifndef SEEN_INKSCAPE_GC_ALLOC_H
14#define SEEN_INKSCAPE_GC_ALLOC_H
39 return static_cast<pointer>(::operator
new(count *
sizeof(T), scan, collect));
47template <
typename T1,
typename T2,
51 return collect1 == collect2 && scan1 == scan2;
54template <
typename T1,
typename T2,
58 return collect1 != collect2 || scan1 != scan2;
Alloc(Alloc< U, scan, collect > const &)
void deallocate(pointer p, size_type)
pointer allocate(size_type count, void const *=nullptr)
bool operator!=(Alloc< T1, scan1, collect1 > const &, Alloc< T2, scan2, collect2 > const &)
Helper class to stream background task notifications as a series of messages.
Alloc< U, scan, collect > other