#pragma once #include #include "ProxyHandler.h" namespace crepe { template class Proxy { public: Proxy & operator = (const T &); operator const T & () const; public: Proxy(std::unique_ptr> handler) : val(std::move(handler)) {} private: std::unique_ptr> val = nullptr; }; } #include "Proxy.hpp"