Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11713: boost::interprocess::basic_string instantiation broken
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-10-07 13:35:32
#11713: boost::interprocess::basic_string instantiation broken
--------------------------------+--------------------------
Reporter: kaparis.dimitri@⦠| Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.59.0 | Severity: Regression
Resolution: | Keywords:
--------------------------------+--------------------------
Comment (by kaparis.dimitri@â¦):
The same problem affects example 33.10 of the chapter on Managed Shared
Memory of "The Boost C++ Libraries" book
(http://theboostcpplibraries.com/boost.interprocess-managed-shared-
memory):
{{{
#include <boost/interprocess/managed_shared_memory.hpp>
#include <iostream>
using namespace boost::interprocess;
int main()
{
shared_memory_object::remove("Boost");
managed_shared_memory managed_shm{open_or_create, "Boost", 1024};
int *i = managed_shm.construct<int>("Integer")(99);
std::cout << *i << '\n';
std::pair<int*, std::size_t> p = managed_shm.find<int>("Integer");
if (p.first)
std::cout << *p.first << '\n';
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11713#comment:1> 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:19 UTC