Subject: [Boost-bugs] [Boost C++ Libraries] #8451: missing documented function 'boost::scoped_thread::joinable'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-17 07:56:57
#8451: missing documented function 'boost::scoped_thread::joinable'
-------------------------------------------+--------------------------------
Reporter: record.nctu.cis91@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.53.0 | Severity: Problem
Keywords: thread scoped_thread joinable |
-------------------------------------------+--------------------------------
I've found there is documented function:
boost::scoped_thread::joinable.[[BR]]
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;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8451> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC