mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
NamedPtr provides reference-counted handles to named objects. The object is created the first time the associated name is used, and stored under the associated name until the last handle is destroyed. NamedPtr may itself be destroyed while handles are still active. This template is intended to replace ResourceHandle with a more general and less invasive implementation. Signed-off-by: Zygo Blaxell <bees@furryterror.org>