[Boost-bugs] [Boost C++ Libraries] #9655: Error for visitors returning a rvalue

Subject: [Boost-bugs] [Boost C++ Libraries] #9655: Error for visitors returning a rvalue
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-11 09:07:25


#9655: Error for visitors returning a rvalue
--------------------------------------------+---------------------
 Reporter: Raffael Casagrande <raffael@…> | Owner: ebf
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: variant
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: rvalue, visitor |
--------------------------------------------+---------------------
 I noticed that there is an error in boost::variant if one uses the visitor
 pattern and if the return type of the visitor does not posess a copy
 constructor but instead a move constructor.
 I've attached a small sample script that shows this behaviour.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9655>
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:15 UTC