Boost logo

Boost Users :

Subject: Re: [Boost-users] Memory manager/allocator
From: Igor R (boost.lists_at_[hidden])
Date: 2009-06-16 12:05:33


>
> I've take a look to boost::pool, tell me if I understand well.

Unfortunately, I never used it myself, so I'm afraid I can't enlighten you
more than the library reference.

> void MyMemoryObj::Write(long pData, long byte_to_write)
> {
> // In windows I write the data pointed to pData into the buffer with:
> RtlMoveMemory pMem, pData, byte_to_write
> }
>
> Is there a way to copy memory in boost?

Why boost? It's just std::copy()
Or if you insist on working with plain C pointers, instead of c++ iterators,
then use plain C memcpy()



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