Modify

Ticket #6763 (closed Bugs: fixed)

Opened 2 years ago

Last modified 22 months ago

flat_map fails to compile with VC11 Beta.

Reported by: orhunbirsoy@… Owned by: igaztanaga
Milestone: To Be Determined Component: intrusive
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Description

The following code

    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

Attachments

Change History

comment:1 Changed 22 months ago by igaztanaga

  • Status changed from new to closed
  • Resolution set to fixed

Thanks for the report, fixed in trunk at revision 77889.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.