flexibility of operator new

From: Glen Able (smDELETEecklers_at_hotmTHISail.com)
Date: 09/13/04

Date: Mon, 13 Sep 2004 16:32:15 +0100

I'd like to use a few different memory arenas in my current application and
to be able to specify for each allocation where it comes from. Is there any
way I can make operator new take another argument to specify which arena an
object gets allocated from. Or fake it?

e.g. I'd like to be able to write something like this:

A* myA = new_bigheap A;
A* otherA = new_fastheap A;