[#LockedPool-2constructor-09] = xref:LockedPool.adoc[LockedPool]::LockedPool :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<support/lockedpool.h>` Deleted copy constructor; a LockedPool cannot be copied. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:LockedPool/2constructor-0b.adoc[LockedPool](xref:LockedPool.adoc[LockedPool] const& other) = delete; ---- [.small]#xref:LockedPool/2constructor-0b.adoc[_» more..._]# Create a new LockedPool. This takes ownership of the MemoryPageLocker, you can only instantiate this with LockedPool(std::move(...)). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:LockedPool/2constructor-07.adoc[LockedPool]( std::unique_ptr<LockedPageAllocator> allocator, xref:LockedPool/LockingFailed_Callback.adoc[LockingFailed_Callback] lf_cb_in = nullptr); ---- [.small]#xref:LockedPool/2constructor-07.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *other* | The pool that would have been copied. | *allocator* | The page allocator whose ownership the pool takes. | *lf_cb_in* | Optional callback invoked when locking a new arena fails. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#