Re: [Boost-bugs] [Boost C++ Libraries] #11285: Variant: apply_visitor broken with C ++14 and const references

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11285: Variant: apply_visitor broken with C ++14 and const references
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-06-22 19:23:29


#11285: Variant: apply_visitor broken with C ++14 and const references
-------------------------------------+------------------------
  Reporter: Roger Leigh <rleigh@…> | Owner: apolukhin
      Type: Bugs | Status: assigned
 Milestone: Boost 1.59.0 | Component: variant
   Version: Boost 1.58.0 | Severity: Regression
Resolution: | Keywords:
-------------------------------------+------------------------
Changes (by apolukhin):

 * cc: antoshkka@… (added)
 * owner: ebf => apolukhin
 * status: new => assigned
 * milestone: To Be Determined => Boost 1.59.0

Comment:

 Thanks for the report and hints.

 This issue has been fixed in
 [https://github.com/boostorg/variant/commit/aad58b5fe5b2605bf752c8151ae0539df98223f9
 develop branch]. As a workaround you can remove the
 `boost::static_visitor<const std::string&>` or just
 [https://github.com/boostorg/variant/commit/aad58b5fe5b2605bf752c8151ae0539df98223f9
 patch the] `boost/variant/detail/has_result_type.hpp
 ` file.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11285#comment:5>
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:18 UTC