GKD.RoboCtrl
RoboMaster Linux 电控:异步 IO、设备驱动与机器人控制
载入中...
搜索中...
未找到
roboctrl::utils::singleton 概念引用

详细描述

在文件 singleton.hpp 第 51 行定义.

概念定义

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>;
}