Boost logo

Boost Users :

From: Juan Ramírez (jramirez.uy_at_[hidden])
Date: 2022-06-07 23:44:23


It looks like the overload taking thread::attributes as parameter does not
accept variadic arguments:

```
template<typename Callable>
thread(attributes& attrs, Callable func);
```

https://www.boost.org/doc/libs/1_79_0/doc/html/thread/thread_management.html#thread.thread_management.thread.attr_callable_constructor

On Sat, May 21, 2022 at 6:18 PM Jeanette C. via Boost-users <
boost-users_at_[hidden]> wrote:

> May 21 2022, Glen Fernandes has written:
> ...
> > It's as if BOOST_THREAD_PROVIDES_VARIADIC_THREAD is not defined, which
> > would happen if BOOST_THREAD_VERSION is less than 4. Can you check if
> > this is the case?
> ...
> the version is 2, although the include files mention versions upto 5.
> What is the recommended way to set this, please?
>
> Best wishes,
>
> Jeanette
>
> --
> * Website: http://juliencoder.de - for summer is a state of sound
> * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
> * Audiobombs: https://www.audiobombs.com/users/jeanette_c
> * GitHub: https://github.com/jeanette-c
>
> Don't care about money
> It doesn't give me half the thrill <3
> (Britney Spears)
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Juan
:wq


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