Opened 9 years ago
Closed 9 years ago
#9029 closed Bugs (fixed)
Misprint in documentation
| Reported by: | Owned by: | viboes | |
|---|---|---|---|
| Milestone: | Boost 1.55.0 | Component: | thread |
| Version: | Boost 1.54.0 | Severity: | Problem |
| Keywords: | thread doc | Cc: |
Description
This page http://www.boost.org/doc/libs/1_54_0/doc/html/thread/build.html has misprint 'boost::thread::oprator=='. I guess it's 'boost::thread::operator=='
Change History (15)
comment:1 by , 9 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 9 years ago
| Milestone: | To Be Determined → Boost 1.55.0 |
|---|
comment:4 by , 9 years ago
Why not. The pb is to which github repository. Could you point me to which one?
comment:5 by , 9 years ago
No, I'm just asking for future. Quote from here:
Development should continue in Subversion only.
follow-up: 8 comment:7 by , 9 years ago
comment:8 by , 9 years ago
comment:10 by , 9 years ago
I've send one more:
Fix with_lock_guard documentation
github.com/boostorg/thread/pull/3
BTW, can't find this function declaration, where is it?
follow-up: 12 comment:11 by , 9 years ago
Committed revision [85492].
The function is not provided. It is just an example.
follow-up: 13 comment:12 by , 9 years ago
Replying to viboes:
Committed revision [85492].
Thank you.
The function is not provided. It is just an example.
Why not? Looks nice:
template <class Lockable, class Function, class... Args>
auto with_lock_guard(
Lockable& m,
BOOST_FWD_REF(Function) f,
BOOST_FWD_REF(Args)... args
) -> decltype(f(args...)) {
boost::lock_guard<Lockable> lock(m);
return f(args...);
}
follow-up: 14 comment:13 by , 9 years ago
Replying to ruslan_baratov@…:
Replying to viboes:
Committed revision [85492].
Thank you.
The function is not provided. It is just an example.
Why not? Looks nice:
template <class Lockable, class Function, class... Args> auto with_lock_guard( Lockable& m, BOOST_FWD_REF(Function) f, BOOST_FWD_REF(Args)... args ) -> decltype(f(args...)) { boost::lock_guard<Lockable> lock(m); return f(args...); }
Well. All new function needs documentation, tests, fix bugs :( Please, create a new feature request (patches are as always welcome ;-)
comment:14 by , 9 years ago
Replying to viboes:
Well. All new function needs documentation, tests, fix bugs :( Please, create a new feature request (patches are as always welcome ;-)
comment:15 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Committed revision [85603] on release branch.

Committed revision 85432.