Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9029: Misprint in documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-28 07:36:03
#9029: Misprint in documentation
-------------------------------+------------------------
Reporter: ruslan_baratov@⦠| Owner: viboes
Type: Bugs | Status: assigned
Milestone: Boost 1.55.0 | Component: thread
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords: thread doc
-------------------------------+------------------------
Comment (by ruslan_baratov@â¦):
Replying to [comment:11 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...);
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9029#comment:12> 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:14 UTC