$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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