diff options
author | B. Stack <bgstack15@gmail.com> | 2022-06-26 11:59:57 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-06-26 11:59:57 -0400 |
commit | 03efe856012a55165542a3ac5c9055c25723f5e8 (patch) | |
tree | f820b53379f3d14e103e2663e8b0ecd38d1b2105 /zen/stl_tools.h | |
parent | Merge branch 'b11.21' into 'master' (diff) | |
download | FreeFileSync-03efe856012a55165542a3ac5c9055c25723f5e8.tar.gz FreeFileSync-03efe856012a55165542a3ac5c9055c25723f5e8.tar.bz2 FreeFileSync-03efe856012a55165542a3ac5c9055c25723f5e8.zip |
add upstream 11.22
Diffstat (limited to 'zen/stl_tools.h')
-rw-r--r-- | zen/stl_tools.h | 5 |
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)...)); } -//=========================================================================== |