Signals Library
expired_slot.hpp
1 #ifndef SIGNALS_EXPIRED_SLOT_HPP
2 #define SIGNALS_EXPIRED_SLOT_HPP
3 #include <stdexcept>
4 
7 namespace sig {
8 
10 struct Expired_slot : std::logic_error {
11  explicit Expired_slot() : logic_error{"Slot is not valid."} {}
12 };
13 
14 } // namespace sig
15 #endif // SIGNALS_EXPIRED_SLOT_HPP
sig
Definition: connection.hpp:8
sig::Expired_slot
Thrown when a Slot is accessed after it has expired.
Definition: expired_slot.hpp:10