From d6c3858418c4c00adb18d927135f73ed5a54564a Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Sun, 22 Jun 2025 16:56:39 +0100 Subject: nihil.ucl: improve type safety --- nihil.ucl/array.ccm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'nihil.ucl/array.ccm') diff --git a/nihil.ucl/array.ccm b/nihil.ucl/array.ccm index 26cd9b9..7488bde 100644 --- a/nihil.ucl/array.ccm +++ b/nihil.ucl/array.ccm @@ -150,9 +150,7 @@ auto operator-(array_iterator const &lhs, return copy; } -static_assert(std::random_access_iterator>); - -export template +export template struct array final : object { inline static constexpr object_type ucl_type = object_type::array; -- cgit v1.2.3