"git@developer.sourcefind.cn:gaoqiong/flash-attention.git" did not exist on "000b67f5d866413565573cd57e6e4491e2da6f4f"
Commit b3e9d8f8 authored by Paul's avatar Paul
Browse files

Formatting

parent 3ed217c9
...@@ -87,7 +87,8 @@ namespace operation_equal { ...@@ -87,7 +87,8 @@ namespace operation_equal {
template <class T, class U> template <class T, class U>
auto operator==(const T& x, const U& y) -> decltype(x.name() == y.name()) auto operator==(const T& x, const U& y) -> decltype(x.name() == y.name())
{ {
static_assert(is_reflectable<T>{} or sizeof(T) <= 1, "Missing equality operator or reflect method."); static_assert(is_reflectable<T>{} or sizeof(T) <= 1,
"Missing equality operator or reflect method.");
if(x.name() != y.name()) if(x.name() != y.name())
return false; return false;
const auto& yy = any_cast<T>(y); const auto& yy = any_cast<T>(y);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment