mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Remove detail/config_begin|config_end includes from examples as they hide useful warnings
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_anonymous_conditionA
|
||||
#include <boost/interprocess/shared_memory_object.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_anonymous_conditionB
|
||||
#include <boost/interprocess/shared_memory_object.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
@@ -68,4 +68,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_anonymous_mutexA
|
||||
#include <boost/interprocess/shared_memory_object.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
@@ -78,4 +78,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_anonymous_mutexB
|
||||
#include <boost/interprocess/shared_memory_object.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
@@ -68,4 +68,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_anonymous_semaphoreA
|
||||
#include <boost/interprocess/shared_memory_object.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
@@ -64,4 +64,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_anonymous_semaphoreB
|
||||
#include <boost/interprocess/shared_memory_object.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
@@ -64,4 +64,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_anonymous_upgradable_mutexA
|
||||
#include <boost/interprocess/shared_memory_object.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
@@ -72,4 +72,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
|
||||
//[doc_anonymous_upgradable_mutexB
|
||||
#include <boost/interprocess/shared_memory_object.hpp>
|
||||
@@ -70,4 +70,4 @@ int main ()
|
||||
}
|
||||
//]
|
||||
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_message_queueA
|
||||
#include <boost/interprocess/ipc/message_queue.hpp>
|
||||
#include <iostream>
|
||||
@@ -42,4 +42,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_message_queueB
|
||||
#include <boost/interprocess/ipc/message_queue.hpp>
|
||||
#include <iostream>
|
||||
@@ -44,4 +44,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_adaptive_pool
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -82,4 +82,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_allocator
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -68,4 +68,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_anonymous_shared_memory
|
||||
#include <boost/interprocess/anonymous_shared_memory.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
@@ -33,4 +33,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_bufferstream
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -107,4 +107,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_cached_adaptive_pool
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -91,4 +91,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_cached_node_allocator
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -91,4 +91,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_complex_map
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -109,4 +109,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_cont
|
||||
#include <boost/interprocess/containers/vector.hpp>
|
||||
@@ -84,4 +84,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_file_mapping
|
||||
#include <boost/interprocess/file_mapping.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
@@ -132,4 +132,4 @@ int main(int argc, char *argv[])
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_intrusive
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -130,4 +130,4 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_ipc_message
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -103,4 +103,4 @@ int main (int argc, char *argv[])
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_managed_allocation_command
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
#include <cassert>
|
||||
@@ -121,4 +121,4 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_managed_construction_info
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
#include <cassert>
|
||||
@@ -80,4 +80,4 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/os_file_functions.hpp>
|
||||
//[doc_managed_copy_on_write
|
||||
#include <boost/interprocess/managed_mapped_file.hpp>
|
||||
@@ -96,4 +96,4 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_managed_external_buffer
|
||||
#include <boost/interprocess/managed_external_buffer.hpp>
|
||||
#include <boost/interprocess/allocators/allocator.hpp>
|
||||
@@ -69,4 +69,4 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_managed_grow
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
#include <boost/interprocess/managed_mapped_file.hpp>
|
||||
@@ -131,4 +131,4 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_managed_heap_memory
|
||||
#include <boost/interprocess/containers/list.hpp>
|
||||
@@ -78,4 +78,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#if defined(BOOST_INTERPROCESS_MAPPED_FILES)
|
||||
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_managed_multiple_allocation
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
#include <boost/move/utility_core.hpp> //boost::move
|
||||
@@ -90,7 +90,7 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
#else //#if defined(BOOST_INTERPROCESS_MAPPED_FILES)
|
||||
int main()
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_managed_raw_allocation
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
//<-
|
||||
@@ -63,4 +63,4 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_map
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -94,4 +94,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_move_containers
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -103,5 +103,5 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_multi_index
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -115,4 +115,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_named_alloc
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -134,4 +134,4 @@ int main(int argc, char *argv[])
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_named_mutex
|
||||
#include <boost/interprocess/sync/scoped_lock.hpp>
|
||||
#include <boost/interprocess/sync/named_mutex.hpp>
|
||||
@@ -94,4 +94,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_node_allocator
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -84,4 +84,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_offset_ptr
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -87,4 +87,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_private_adaptive_pool
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -80,4 +80,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_private_node_allocator
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -80,4 +80,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_scoped_ptr
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -126,4 +126,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
//[doc_shared_memory
|
||||
#include <boost/interprocess/shared_memory_object.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
@@ -94,4 +94,4 @@ int main(int argc, char *argv[])
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
|
||||
//[doc_shared_ptr
|
||||
@@ -141,4 +141,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
|
||||
//[doc_shared_ptr_explicit
|
||||
@@ -80,4 +80,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_spawn_vector
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -110,4 +110,4 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
|
||||
//[doc_unique_ptr
|
||||
@@ -138,4 +138,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_unordered_map
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -95,4 +95,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_vectorstream
|
||||
#include <boost/interprocess/containers/vector.hpp>
|
||||
@@ -134,4 +134,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
//[doc_where_allocate
|
||||
#include <boost/interprocess/managed_shared_memory.hpp>
|
||||
@@ -93,4 +93,4 @@ int main ()
|
||||
return 0;
|
||||
}
|
||||
//]
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
|
||||
#if defined(BOOST_INTERPROCESS_WINDOWS) || defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
@@ -88,4 +88,4 @@ int main()
|
||||
|
||||
#endif //BOOST_INTERPROCESS_WINDOWS
|
||||
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// See http://www.boost.org/libs/interprocess for documentation.
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
|
||||
#if defined(BOOST_INTERPROCESS_XSI_SHARED_MEMORY_OBJECTS) || defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
@@ -92,4 +92,4 @@ int main()
|
||||
|
||||
#endif //BOOST_INTERPROCESS_XSI_SHARED_MEMORY_OBJECTS
|
||||
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user