Re: [Boost-bugs] [Boost C++ Libraries] #11251: boost::static_visitor<T&> causes a compilation error in C++14 mode

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11251: boost::static_visitor<T&> causes a compilation error in C++14 mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-06-22 19:24:59


#11251: boost::static_visitor<T&> causes a compilation error in C++14 mode
----------------------------+----------------------------------------------
  Reporter: bogdan | Owner: apolukhin
  <inadgob@…> | Status: assigned
      Type: Bugs | Component: variant
 Milestone: Boost 1.59.0 | Severity: Regression
   Version: Boost 1.58.0 | Keywords: variant visitor reference return
Resolution: |
----------------------------+----------------------------------------------
Changes (by apolukhin):

 * 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<int&>` 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/11251#comment:2>
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