#pragma once #include #include #include namespace chatterino { template class SignalVector { public: SignalVector &operator=(std::vector &other) { this->data = other; this->updated.invoke(); return *this; } operator std::vector &() { return this->data; } pajlada::Signals::NoArgSignal updated; private: std::vector data; }; } // namespace chatterino