We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0325324 commit d5a6746Copy full SHA for d5a6746
sycl/include/sycl/ext/oneapi/properties/properties.hpp
@@ -132,8 +132,6 @@ inline constexpr bool properties_are_sorted = []() constexpr {
132
} else {
133
const std::array sort_keys = {property_tys::property_name...};
134
// std::is_sorted isn't constexpr until C++20.
135
- if (sort_keys.empty())
136
- return true;
137
for (std::size_t idx = 1; idx < sort_keys.size(); ++idx)
138
if (sort_keys[idx - 1] >= sort_keys[idx])
139
return false;
0 commit comments