Subject: [Boost-bugs] [Boost C++ Libraries] #12286: PMR flat_map from Boost Container does not compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-06-19 10:44:42
#12286: PMR flat_map from Boost Container does not compile
-----------------------------------------------+-------------------------
Reporter: Dmitry Varlamov <big.black.fox@â¦> | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
Version: Boost 1.61.0 | Severity: Showstopper
Keywords: container pmr flat_map |
-----------------------------------------------+-------------------------
Hello,
PMR flat_map from Boost Container does not compile with GCC 6.1.0.
The code:
{{{
#!div style="font-size: 80%"
Code highlighting:
{{{#!cpp
#include <boost/container/pmr/flat_map.hpp>
#include <boost/container/pmr/monotonic_buffer_resource.hpp>
using namespace boost::container::pmr;
int main(int argc, char *argv[])
{
static const size_t s = 4096;
char buffer[s];
monotonic_buffer_resource r(buffer, s);
flat_map<size_t, size_t> m(&r);
m.emplace(1, 2);
return 0;
}
}}}
}}}
Compile with:
g++ -std=c++14 -I./../../../Boost/boost_1_61_0/ -L./ -lboost_container
./main.cpp
The error is in the attached file errors.log
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12286> 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