summaryrefslogtreecommitdiff
path: root/include/vcl/threadex.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-04 16:13:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-04 16:14:08 +0000
commit2b76184892ddaeebaf8603f62c54dee17922f274 (patch)
tree7ead69b8f130309eccf65e623d0e64a2d8ab658c /include/vcl/threadex.hxx
parent79ab9d7b6ede19bc494770bba6cc59bd4618d5ae (diff)
Revert "Doxygen warnings corrected"
This reverts commit ff8036df5c5575503dc30d255dfbe99cc637c510. multiple build failures with namespace collisions etc Change-Id: Ie8ac08feff518af3584a26957f07a60d95932c76 Reviewed-on: https://gerrit.libreoffice.org/7855 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/threadex.hxx')
-rw-r--r--include/vcl/threadex.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/threadex.hxx b/include/vcl/threadex.hxx
index 9433e394df39..51876033d5e4 100644
--- a/include/vcl/threadex.hxx
+++ b/include/vcl/threadex.hxx
@@ -204,11 +204,11 @@ inline detail::copy_back_wrapper<T> inout_by_ptr( T * p )
(e.g. for out parameters) to foreign threads, use inout_by_ref()
for this purpose. For in parameters, this may not affect you, because
the functor object is copy constructed into free store. This way
- you must not use \verbatim boost::cref()/boost::ref() \endverbatim or similar
- for objects on your thread's stack.
+ you must not use boost::cref()/boost::ref() or similar for objects on
+ your thread's stack.
Use inout_by_ref() or inout_by_ptr() for this purpose, e.g.
- \code{.cpp}
+ <pre>
using namespace vcl::solarthread;
long n = 3;
@@ -222,7 +222,7 @@ inline detail::copy_back_wrapper<T> inout_by_ptr( T * p )
syncExecute( boost::bind( &foo, inout_by_ptr(&pc) ) );
// calling foo( char const*& rpc ):
syncExecute( boost::bind( &foo, inout_by_ref(pc) ) );
- \endcode
+ </pre>
@tpl ResultT result type, defaults to FuncT::result_type to seamlessly
support mem_fn and bind