[Boost-bugs] [Boost C++ Libraries] #10837: Autodetect visitation return types when possible

Subject: [Boost-bugs] [Boost C++ Libraries] #10837: Autodetect visitation return types when possible
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-02 14:45:19


#10837: Autodetect visitation return types when possible
-------------------------------------+-----------------------
 Reporter: apolukhin | Owner: apolukhin
     Type: Feature Requests | Status: new
Milestone: Boost 1.58.0 | Component: variant
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+-----------------------
 Fixing this will allow to use `boost::apply_visitor` with generic lambda
 funtions:
 {{{
 auto str = boost::apply_visitor(
     [](auto v) {
         return boost::lexical_cast<std::string>(v);
     },
     variant_instance
 );
 }}}

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