|
Lightweight 0.20260303.0
|
#include <Pool.hpp>
Public Member Functions | |
| PooledDataMapper (PooledDataMapper const &)=delete | |
| PooledDataMapper (PooledDataMapper &&other) noexcept | |
| PooledDataMapper & | operator= (PooledDataMapper const &)=delete |
| PooledDataMapper & | operator= (PooledDataMapper &&)=delete |
| DataMapper * | operator-> () const noexcept |
| Access the underlying data mapper via pointer semantics. | |
| DataMapper & | Get () const noexcept |
A wrapper around a DataMapper that returns it to the pool when destroyed can be created only from the Pool and is move-only to ensure it is always returned to the pool when it goes out of scope
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Access the underlying data mapper via reference semantics This is useful for passing the pooled data mapper to functions that expect a DataMapper reference