Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-02-14 19:01:27


Gottlob Frege wrote:

> On 2/14/07, Peter Dimov <pdimov_at_[hidden]> wrote:
>>
>> CBufferPtr buffer = *static_cast<CBufferPtr*>(result.Context());
>
> You might also need a const_cast in there, since Context() returns a
> const void *?

Make that

CBufferPtr buffer = *static_cast<CBufferPtr const*>(result.Context());


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