From 9b7663835173be3c1992eec642ae20064ab1b7bb Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sun, 15 Sep 2013 09:44:14 -0700 Subject: [PATCH] Tidy up SharedSingleton doc comments --- src/beast/modules/beast_core/memory/SharedSingleton.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/beast/modules/beast_core/memory/SharedSingleton.h b/src/beast/modules/beast_core/memory/SharedSingleton.h index 14ab7c0ce..49fa2d317 100644 --- a/src/beast/modules/beast_core/memory/SharedSingleton.h +++ b/src/beast/modules/beast_core/memory/SharedSingleton.h @@ -26,7 +26,10 @@ object that depends on it, the order of destruction of objects is assured to be correct. - class Object must provide the function `Object* Object::createInstance()` + Object Requirements: + DefaultConstructible + TriviallyDestructible (when lifetime == neverDestroyed) + Destructible @class SharedSingleton @ingroup beast_core