SeArray: Replace enable_if with a concept.
Chaos Ci / test (push) Successful in 3m28s
Chaos Ci / benchmark (push) Successful in 1m52s

This commit is contained in:
hashlag
2026-08-31 01:32:52 +03:00
parent b03fddd40b
commit 7d028cce66
+2 -3
View File
@@ -2,14 +2,13 @@
#define CHAOS_SERVICE_SEARRAY_HPP
#include <array>
#include <type_traits>
#include <concepts>
#include <cstddef>
namespace Chaos::Service
{
template<typename T, size_t S,
typename = std::enable_if_t<std::is_integral_v<T>>>
template<std::integral T, size_t S>
class SeArray
{
public: