#pragma once #include "Proxy.h" namespace crepe::util { 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 & () const { return this->broker.get(); } }