mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Changes for Boost.1.39
[SVN r51964]
This commit is contained in:
@@ -43,7 +43,9 @@ int main()
|
||||
//be stored in the static_buffer!
|
||||
MyBufferList *list = objects_in_static_memory.construct<MyBufferList>(L"MyList")
|
||||
(objects_in_static_memory.get_segment_manager());
|
||||
|
||||
//<-
|
||||
(void)list;
|
||||
//->
|
||||
//Since the allocation algorithm from wmanaged_external_buffer uses relative
|
||||
//pointers and all the pointers constructed int the static memory point
|
||||
//to objects in the same segment, we can create another static buffer
|
||||
|
||||
Reference in New Issue
Block a user