#pragma once #include "ValueBroker.h" namespace crepe { template ValueBroker::ValueBroker(const setter_t & setter, const getter_t & getter) : setter(setter), getter(getter) {} template const T & ValueBroker::get() { return this->getter(); } template void ValueBroker::set(const T & value) { this->setter(value); } } // namespace crepe