[Boost-bugs] [Boost C++ Libraries] #10218: variant::apply_visitor does not work with move-only return types

Subject: [Boost-bugs] [Boost C++ Libraries] #10218: variant::apply_visitor does not work with move-only return types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-18 19:23:22


#10218: variant::apply_visitor does not work with move-only return types
-------------------------------------------+---------------------
 Reporter: Christopher Moore <crmoore@…> | Owner: ebf
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: variant
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
-------------------------------------------+---------------------
 Applying a visitor that returns a move-only type (such as
 std::unique_ptr<>) fails to compile.

 Tested with clang 3.4 and gcc 4.8 on OS X.

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