Exemple #1
0
    dynamic_t
    on_info() const {
        if (auto overseer = this->overseer.lock()) {
            return overseer->info();
        }

        throw std::system_error(std::make_error_code(std::errc::broken_pipe), "the application has been stopped");
    }