GKD.RoboCtrl
载入中...
搜索中...
未找到
roboctrl::utils::singleton 概念引用

详细描述

在文件 singleton.hpp51 行定义.

概念定义

template<typename T>
concept roboctrl::utils::singleton = std::is_base_of_v<singleton_base<T>, T> and
requires (T t) {
typename T::info_type;
{t.init(std::declval<typename T::info_type>())} -> std::same_as<bool>;
}
asio::awaitable< T > awaitable
协程任务类型。
Definition async.hpp:42