Boost logo

Boost Users :

From: Seweryn Habdank-Wojewódzki (shw_at_[hidden])
Date: 2007-10-06 18:33:36


Hi

> scoped_ptr and scoped_array call delete and delete[] respectively. We don't
> currently have a smart pointer that uses Allocator::destroy and
> Allocator::deallocate for that. The usual way of overriding the
> allocation/deallocation for scoped_ptr is to supply a class-specific
> operator new/delete.
>
> What is your specific use case?

Am trying to design and develop experimental distributed container. And
allocator should be allowed to allocate memory through the network. This is
experimental design rather scientific than production code.

Regards.

-- 
|\/\/|   Seweryn Habdank-Wojewódzki
 \/\/ 

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net