diff options
Diffstat (limited to 'src/crepe/Proxy.h')
-rw-r--r-- | src/crepe/Proxy.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/crepe/Proxy.h b/src/crepe/Proxy.h deleted file mode 100644 index 97b8afa..0000000 --- a/src/crepe/Proxy.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include <memory> - -#include "ProxyHandler.h" - -namespace crepe { - -template <typename T> -class Proxy { -public: - Proxy & operator = (const T &); - operator const T & () const; - -public: - Proxy(std::unique_ptr<ProxyHandler<T>> handler) : val(std::move(handler)) {} -private: - std::unique_ptr<ProxyHandler<T>> val = nullptr; -}; - -} - -#include "Proxy.hpp" |