#include <resource_pool.h>
Public Member Functions | |
Resource (Resource &&other) | |
Resource & | operator= (Resource &&other) |
T & | get () |
Friends | |
class | ResourcePool< T > |
A RIAA wrapper for a user's type that can manage accessibility and ensures the resource will go back into the ResourcePool upon destruction.
Definition at line 30 of file resource_pool.h.
Definition at line 32 of file resource_pool.h.
|
inline |
Definition at line 55 of file resource_pool.h.
|
inline |
Access the underlying resource object.
Definition at line 51 of file resource_pool.h.
|
inline |
Definition at line 36 of file resource_pool.h.
Definition at line 65 of file resource_pool.h.