Boost Users :
Subject: Re: [Boost-users] [thread]N of args for thread::thread with args
From: Marcello Puligheddu (marcello.puligheddu_at_[hidden])
Date: 2011-10-20 04:57:32
Thank you for the clear answer . Unspecified doesn't mean unlimited .
2011/10/19 Arash Partow <arash_at_[hidden]>
> Marcello Puligheddu wrote:
> > In
> > Thread Constructor with arguments
> > <
> > [...]
> > Note:
> > Currently up to nine additional arguments |a1|to |a9|can be
> > specified in addition to the function |f|.
> > But in
> > Launching threads
> > <
> > is clearly stated
> > "There is an unspecified limit on the number of additional arguments
> > that can be passed."
> AFAIK, for C++11 implementations of std::thread, based on 22.214.171.124 of ,
> the constructor is to make use of variadic templates. I believe that is
> where the term "unspecified" originates. For pre C++11 implementations, this
> can only be achieved through multiple overloads with a varying number of
> parameters, which would inevitably have a trivial upper-limit.
> Boost-users mailing list
-- marcello puligheddu Cagliari ,Sardegna, Italia +393203090251
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net