comet::invariant_lock_impl::simple_enforcer< CLASS > Struct Template Reference

#include <invariant_lock.h>

Inheritance diagram for comet::invariant_lock_impl::simple_enforcer< CLASS >:

Inheritance graph
[legend]
Collaboration diagram for comet::invariant_lock_impl::simple_enforcer< CLASS >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 simple_enforcer (const CLASS *pobj)

Public Attributes

const CLASS * m_pobj

Detailed Description

template<typename CLASS>
struct comet::invariant_lock_impl::simple_enforcer< CLASS >

A version of invariant_lock that calls public method assert_valid on construction and destruction of the lock.
See also:
create_invariant_lock


The documentation for this struct was generated from the following file: