xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
xcmath::concepts::Add 概念引用

#include <concepts.h>

概念定义

template<typename _Tp1, typename _Tp2 _Tp1, typename _RTp _Tp1>
concept xcmath::concepts::Add = requires(_Tp1 a, _Tp2 b) {
{ a + b } -> std::same_as<_RTp>;
}

详细描述

在文件 concepts.h10 行定义.