Boost C++ Libraries: Ticket #13017: boost::interprocess::map compilation problem (overloading) https://svn.boost.org/trac10/ticket/13017 <p> This code compiles with libboost 1.58, but doesn't compile with 1.62 or 1.63. I tried with g++-6.3 and g++-5.4, both with same result. </p> <pre class="wiki">#include &lt;cassert&gt; #include &lt;cstring&gt; #include &lt;boost/interprocess/managed_shared_memory.hpp&gt; #include &lt;boost/interprocess/containers/map.hpp&gt; #include &lt;boost/interprocess/containers/vector.hpp&gt; #include &lt;boost/interprocess/containers/string.hpp&gt; #include &lt;boost/interprocess/containers/set.hpp&gt; #include &lt;boost/interprocess/allocators/allocator.hpp&gt; #include &lt;boost/unordered_map.hpp&gt; namespace ipc = boost::interprocess; typedef ipc::managed_shared_memory::segment_manager segment_manager_t; typedef ipc::allocator&lt;void, segment_manager_t&gt; void_allocator_t; typedef ipc::allocator&lt;char, segment_manager_t&gt; char_allocator_t; typedef ipc::basic_string&lt;char, std::char_traits&lt;char&gt;, char_allocator_t&gt; shared_string_t; typedef ipc::allocator&lt;shared_string_t, segment_manager_t&gt; string_allocator; typedef std::pair&lt;shared_string_t, shared_string_t&gt; shared_sport_event_pair_t; typedef ipc::set&lt;const shared_string_t, std::less&lt;shared_string_t&gt;, string_allocator&gt; shared_bms_set_t; typedef std::pair&lt;const shared_sport_event_pair_t, shared_bms_set_t&gt; event_index_map_t; typedef ipc::allocator&lt;event_index_map_t, segment_manager_t&gt; event_index_allocator_t; typedef ipc::map&lt;shared_sport_event_pair_t, shared_bms_set_t, std::less&lt;shared_sport_event_pair_t&gt;, event_index_allocator_t&gt; shared_event_index_t; struct SharedState { SharedState(const void_allocator_t &amp;alloc) : m_EventIndex(std::less&lt;shared_sport_event_pair_t&gt;(), alloc) { } shared_event_index_t m_EventIndex; }; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13017 Trac 1.4.3 gjcarneiro@… Mon, 08 May 2017 13:34:36 GMT attachment set https://svn.boost.org/trac10/ticket/13017 https://svn.boost.org/trac10/ticket/13017 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">log</span> </li> </ul> <p> compilation errors output </p> Ticket John Maddock Sun, 30 Jul 2017 18:16:33 GMT component changed; owner set https://svn.boost.org/trac10/ticket/13017#comment:1 https://svn.boost.org/trac10/ticket/13017#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Ion Gaztañaga</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">interprocess</span> </li> </ul> Ticket