mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 16:22:19 +00:00
Various standards-conformance fixes for Boost.Interprocess.
[SVN r61665]
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
|
||||
#ifdef BOOST_MOVE_IN_INTERPROCESS
|
||||
|
||||
#define INCLUDE_BOOST_CONTAINER_MOVE_HPP <boost/interprocess/detail/move.hpp >
|
||||
#define INCLUDE_BOOST_CONTAINER_MOVE_HPP <boost/interprocess/detail/move.hpp>
|
||||
#define BOOST_CONTAINER_MOVE_NAMESPACE boost::interprocess
|
||||
|
||||
#else
|
||||
|
||||
#define INCLUDE_BOOST_CONTAINER_MOVE_HPP <boost/move/move.hpp >
|
||||
#define INCLUDE_BOOST_CONTAINER_MOVE_HPP <boost/move/move.hpp>
|
||||
#define BOOST_CONTAINER_MOVE_NAMESPACE boost
|
||||
|
||||
#endif
|
||||
|
||||
@@ -51,7 +51,7 @@ struct operator_arrow_proxy<T&>
|
||||
// This function is needed for MWCW and BCC, which won't call operator->
|
||||
// again automatically per 13.3.1.2 para 8
|
||||
// operator T*() const { return &m_value; }
|
||||
mutable T &m_value;
|
||||
T &m_value;
|
||||
};
|
||||
|
||||
template <class Iterator, class UnaryFunction>
|
||||
|
||||
@@ -682,7 +682,7 @@ class basic_managed_memory_impl
|
||||
template<class T>
|
||||
typename allocator<T>::type
|
||||
get_allocator()
|
||||
{ return mp_header->get_allocator<T>(); }
|
||||
{ return mp_header->BOOST_NESTED_TEMPLATE get_allocator<T>(); }
|
||||
|
||||
//!This is the default deleter to delete types T
|
||||
//!from this managed segment.
|
||||
@@ -697,7 +697,7 @@ class basic_managed_memory_impl
|
||||
template<class T>
|
||||
typename deleter<T>::type
|
||||
get_deleter()
|
||||
{ return mp_header->get_deleter<T>(); }
|
||||
{ return mp_header->BOOST_NESTED_TEMPLATE get_deleter<T>(); }
|
||||
|
||||
/// @cond
|
||||
//!Tries to find a previous named allocation address. Returns a memory
|
||||
|
||||
@@ -54,7 +54,7 @@ struct operator_arrow_proxy<T&>
|
||||
// This function is needed for MWCW and BCC, which won't call operator->
|
||||
// again automatically per 13.3.1.2 para 8
|
||||
// operator T*() const { return &m_value; }
|
||||
mutable T &m_value;
|
||||
T &m_value;
|
||||
};
|
||||
|
||||
template <class Iterator, class UnaryFunction>
|
||||
|
||||
Reference in New Issue
Block a user