Re: [Boost-bugs] [Boost C++ Libraries] #7281: C++11 compliance: Add ArgTypes to packaged_task template

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7281: C++11 compliance: Add ArgTypes to packaged_task template
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-22 23:43:23


#7281: C++11 compliance: Add ArgTypes to packaged_task template
-------------------------------+--------------------------------------------
  Reporter: viboes | Owner: viboes
      Type: Feature Requests | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by viboes):

 Unfortunately this breaks the current interface. I will add it for version
 4.
 If variadic templates are not available only the signature R() will be
 provided


 {{{
     template<class R>
     class packaged_task<R()> {
     public:
       void operator()();
 }}}

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