limit template type to only derive from certain base class.
摘要:
// static_assert(std::is_base_of<Port, T>::value, // "T must derive from Port"); 阅读全文
posted @ 2021-02-12 06:35 ghostli123 阅读(31) 评论(0) 推荐(0) 编辑
posted @ 2021-02-12 06:35 ghostli123 阅读(31) 评论(0) 推荐(0) 编辑