// 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>
{
//Create an named integer in a managed mapped file
managed_mapped_file managed_file(create_only, ManagedFile, 65536);
- managed_file.construct<int>("MyInt")(0u);
+ managed_file.construct<int>("MyInt")(0);
//Now create a copy on write version
managed_mapped_file managed_file_cow(open_copy_on_write, ManagedFile);
return 0;
}
//]
-#include <boost/interprocess/detail/config_end.hpp>
+