libxr
Embedded C++ framework for bare-metal, RTOS and Linux
Loading...
Searching...
No Matches
LibXR::CommonOrdered Concept Reference

具有公共类型且可比较大小的类型对 / Type pair with a common type and ordering More...

#include <libxr_def.hpp>

Concept definition

template<typename LeftType, typename RightType>
concept LibXR::CommonOrdered = std::common_with<LeftType, RightType> &&
requires(const LeftType& left, const RightType& right) {
{ left < right } -> std::convertible_to<bool>;
{ left > right } -> std::convertible_to<bool>;
}
具有公共类型且可比较大小的类型对 / Type pair with a common type and ordering
Definition libxr_def.hpp:80

Detailed Description

具有公共类型且可比较大小的类型对 / Type pair with a common type and ordering

Definition at line 80 of file libxr_def.hpp.