[Boost-bugs] [Boost C++ Libraries] #12367: Using an offset_ptr type as value for multi_index_container causes compile error with 1.59+

Subject: [Boost-bugs] [Boost C++ Libraries] #12367: Using an offset_ptr type as value for multi_index_container causes compile error with 1.59+
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-01 19:17:25


#12367: Using an offset_ptr type as value for multi_index_container causes compile
error with 1.59+
-------------------------------------------------+-------------------------
 Reporter: Michael Watkins | Owner: joaquin
  <michael.watkins2@…> | Status: new
     Type: Bugs | Component: multi_index
Milestone: To Be Determined | Severity: Showstopper
  Version: Boost 1.59.0 |
 Keywords: multi_index multi_index_container |
  interprocess offset_ptr |
-------------------------------------------------+-------------------------
 Our project uses multi_index_container in a Boost interprocess shared
 memory segment. This has always compiled fine until we tried upgrading to
 from 1.58 to 1.61. It turns out that something introduced in 1.59 causes a
 compile error.

 Our code uses a boost::interprocess::offset_ptr as the value for a
 multi_index_container instantiated in the shared memory segment.
 Apparently anything with 1.59 or higher does not like this.

 This has only been seen compiling with Visual Studio 2013.

 I have attached the slightly modified boost example that causes the error
 and the error output.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12367>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC