|
lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
Interface that may be used to tag a specific class as a resource. More...
#include <resource.h>
Public Member Functions | |
| virtual | ~resource_interface () throw () |
| Destructor. | |
|
virtual ref_counter_type::counter_type | ref_count () const =0 |
| Gets the reference count. | |
Protected Types | |
|
typedef ref_counter< Counter, Allocator > | ref_counter_type |
| Reference counter type. | |
Protected Member Functions | |
| LEAN_INLINE resource_interface & | operator= (const resource_interface &right) |
| Assignment operator. | |
| virtual const ref_counter_type & | ref_counter () const =0 |
| Returns the reference counter of this resource. | |
Interface that may be used to tag a specific class as a resource.
1.7.6.1