Subject: [Boost-bugs] [Boost C++ Libraries] #6763: flat_map fails to compile with VC11 Beta.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-03 18:06:36
#6763: flat_map fails to compile with VC11 Beta.
-----------------------------------+----------------------------------------
Reporter: orhunbirsoy@⦠| Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: intrusive
Version: Boost 1.49.0 | Severity: Problem
Keywords: |
-----------------------------------+----------------------------------------
The following code
{{{#!cpp
boost::container::flat_map<std::string, boost::any> fm;
fm["answer"] = 42;
}}}
fails with
{{{
boost/intrusive/detail/has_member_function_callable_with.hpp(133): error
C2228: left of '.max_size' must have class/struct/union
type is 'boost::move_detail::add_rvalue_reference<U>::type'
[snip...]
}}}
It looks like "(_MSC_VER != 1600)" needs to be "(_MSC_VER < 1600)" in
boost\intrusive\detail\has_member_function_callable_with.hpp (line 116).
--
Orhun Birsoy
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6763> 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:09 UTC