From: khizmax Date: Fri, 6 Feb 2015 20:47:16 +0000 (+0300) Subject: Fix doc X-Git-Tag: v2.1.0~305^2~68 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9681bd57384c362e97e4f4eb734884dd18506bd8;p=libcds.git Fix doc --- diff --git a/cds/sync/monitor.h b/cds/sync/monitor.h index c3ea5252..7d421672 100644 --- a/cds/sync/monitor.h +++ b/cds/sync/monitor.h @@ -68,16 +68,17 @@ namespace cds { namespace sync { }; \endcode - Monitor's data should be inject into container's node as \p m_SyncMonitorInjection data member: + Monitor's data must be inject into container's node as \p m_SyncMonitorInjection data member: \code template struct my_node { + // ... typename SyncMonitor::node_injection m_SyncMonitorInjection; }; \endcode - The monitor should be a member of your container: + The monitor must be a member of your container: \code template class my_container { @@ -88,7 +89,6 @@ namespace cds { namespace sync { //... }; \endcode - */ /// Monitor scoped lock (RAII)