diff options
Diffstat (limited to 'src/crepe/util/Proxy.h')
-rw-r--r-- | src/crepe/util/Proxy.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/crepe/util/Proxy.h b/src/crepe/util/Proxy.h new file mode 100644 index 0000000..65db04d --- /dev/null +++ b/src/crepe/util/Proxy.h @@ -0,0 +1,23 @@ +#pragma once + +#include "ValueBroker.h" + +namespace crepe { + +template <typename T> +class Proxy { +public: + Proxy & operator = (const T &); + operator const T & (); + +public: + Proxy(ValueBroker<T>); + +private: + ValueBroker<T> broker; +}; + +} + +#include "Proxy.hpp" + |