#pragma once #include "Proxy.h" namespace crepe { template Proxy::Proxy(ValueBroker broker) : broker(broker) { } template Proxy & Proxy::operator = (const T & val) { this->broker.set(val); return *this; } template Proxy::operator const T & () { return this->broker.get(); } }