Boost logo

Boost Users :

From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2006-08-15 15:51:39


Hi Berenguer,

> I think that the shmem docs have a bug.
>
> Section 'A shared memory pointer: offset_ptr' mentions
> '(reinterpret_cast<char>(&offset_ptr))+1' which I would change for
> '(reinterpret_cast<char*>(&offset_ptr))+1' (notice the char*)

You are right, it should be "char*". It's the address of the offset_ptr
object plus 1.

Thanks, and regards,

Ion


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