Opened 10 years ago
Closed 10 years ago
#8451 closed Bugs (fixed)
missing documented function 'boost::scoped_thread::joinable'
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.54.0 | Component: | thread |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | thread scoped_thread joinable | Cc: |
Description
I've found there is documented function: boost::scoped_thread::joinable.
But there is no such declaration/definition in the source (boost/thread/scoped_thread.hpp).
So the following code will produce compilation error saying 'joinable' is not a member of 'boost::scoped_thread<>'
#include <iostream> #include <iomanip> #include <boost/thread/scoped_thread.hpp> int main() { boost::scoped_thread<> foo; std::cout << std::boolalpha << foo.joinable() << std::endl; return 0; }
Attachments (1)
Change History (4)
by , 10 years ago
Attachment: | patchfile.patch added |
---|
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
You are right. I will add it soon.
comment:3 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
add-joinable-definition-in-scoped-thread