Boost logo

Boost :

Subject: Re: [boost] Detecting if a class overrides free store functions
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-01-07 06:10:24


Michael Marcin wrote:
> I want to create a STL allocator that uses a class's static new function
> if it exists and will fallback on std::allocator::allocate if it
> doesn't.

std::allocator::allocate already uses operator new.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk