Doxygen bug workaround. Corrected Solaris errors. Experimental grow/shrink_to_fit for managed_shared_memory and managed_mapped_file.

[SVN r40268]
This commit is contained in:
Ion Gaztañaga
2007-10-21 09:02:23 +00:00
parent 9f17cbaf5e
commit 70ee83b507
19 changed files with 535 additions and 70 deletions

View File

@@ -189,8 +189,10 @@ int main ()
const char *insert_beg = detail::char_ptr_cast(heap_buffer.get_address());
const char *insert_end = insert_beg + heap_buffer.get_size();
std::vector<char> grow_copy (insert_beg, insert_end);
//Destroy old list
heap_buffer.destroy<MyHeapList>(L"MyHeapList");
//Resize copy buffer
grow_copy.resize(memsize*2);