Re: [thread] attribute constructor failing to compile

Juan Ramírez via Boost-users <[email protected]>
Newsgroups gmane.comp.lib.boost.user
Message-ID <CAEK0aNvDy2NMGC09aaniFuXvuPYMH4fm7soMenGV+KQOJ9gj9w@mail.gmail.com>
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 <
[email protected]> 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
> [email protected]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users
>


-- 
Juan
:wq

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.