summaryrefslogtreecommitdiff
path: root/zen/stl_tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/stl_tools.h')
-rw-r--r--zen/stl_tools.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/zen/stl_tools.h b/zen/stl_tools.h
index 9f7977db..2726a09d 100644
--- a/zen/stl_tools.h
+++ b/zen/stl_tools.h
@@ -78,11 +78,7 @@ template <class T> inline T* get( std::optional<T>& opt) { return opt
template <class T> inline const T* get(const std::optional<T>& opt) { return opt ? &*opt : nullptr; }
-
//===========================================================================
-template <class T> class SharedRef;
-template <class T, class... Args> SharedRef<T> makeSharedRef(Args&& ... args);
-
template <class T>
class SharedRef //why is there no std::shared_ref???
{
@@ -109,7 +105,6 @@ private:
template <class T, class... Args> inline
SharedRef<T> makeSharedRef(Args&& ... args) { return SharedRef<T>(std::make_shared<T>(std::forward<Args>(args)...)); }
-//===========================================================================
bgstack15