Boost logo

Boost Users :

From: Berenguer Blasi (bblasi_at_[hidden])
Date: 2006-08-15 10:36:48


Hi Ion,

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*)

Otherwise if it's not a bug how do you assign or test against NULL for a
offset_1_null_ptr??

Thanks in advance.


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