Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9029: Misprint in documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-28 11:05:20
#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 viboes):
Replying to [comment:12 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...);
> }
> }}}
>
Well. All new function needs documentation, tests, fix bugs :(
Please, create a new feature request (patches are as always welcome ;-)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9029#comment:13> 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