Modify

Ticket #7281 (closed Feature Requests: fixed)

Opened 20 months ago

Last modified 17 months ago

C++11 compliance: Add ArgTypes to packaged_task template

Reported by: viboes Owned by: viboes
Milestone: Boost 1.53.0 Component: thread
Version: Boost 1.51.0 Severity: Problem
Keywords: Cc:

Description

The following should be taken in account

    template<class R, class... ArgTypes>
    class packaged_task<R(ArgTypes...)> {
    public:
// execution
      void operator()(ArgTypes... );
      void make_ready_at_thread_exit(ArgTypes...);

Attachments

Change History

comment:1 Changed 20 months ago by viboes

  • Owner changed from anthonyw to viboes
  • Status changed from new to assigned

comment:2 Changed 19 months ago 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()();

comment:3 Changed 19 months ago by viboes

  • Milestone To Be Determined deleted

Committed in trunk [80755].

comment:4 Changed 18 months ago by viboes

  • Milestone set to Boost 1.53.0

comment:5 Changed 17 months ago by viboes

  • Status changed from assigned to closed
  • Resolution set to fixed

Committed revision [81667].

Last edited 17 months ago by viboes (previous) (diff)
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.