More dependency reduction: Reused Boost.Move/Boost.Intrusive/Boost.Container utilities, removed some standard headers.

Removed some GCC warnings.
This commit is contained in:
Ion Gaztañaga
2015-01-07 00:56:27 +01:00
parent 256eb4e6cd
commit a8b8eac741
47 changed files with 252 additions and 222 deletions

View File

@@ -18,8 +18,8 @@
#include <boost/interprocess/managed_heap_memory.hpp>
#include <boost/interprocess/containers/list.hpp>
#include <boost/interprocess/detail/type_traits.hpp>
#include <boost/move/detail/type_traits.hpp>
#include <boost/interprocess/allocators/node_allocator.hpp>
#include <boost/type_traits/type_with_alignment.hpp>
#include "print_container.hpp"
/******************************************************************************/
@@ -53,9 +53,9 @@ bool CheckEqual(MyUserList *userlist, MyStdList *stdlist, MyHeapList *heaplist)
int main ()
{
//Create the user memory who will store all objects
const int size_aligner = sizeof(::boost::detail::max_align);
const int size_aligner = sizeof(::boost::container::container_detail::max_align_t);
const int memsize = 65536/size_aligner*size_aligner;
static ::boost::detail::max_align static_buffer[memsize/size_aligner];
static ::boost::container::container_detail::max_align_t static_buffer[memsize/size_aligner];
{
//Now test move semantics