aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.ucl/array.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.ucl/array.ccm')
-rw-r--r--nihil.ucl/array.ccm4
1 files changed, 1 insertions, 3 deletions
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<T> const &lhs,
return copy;
}
-static_assert(std::random_access_iterator<array_iterator<object>>);
-
-export template<datatype T>
+export template<datatype T = object>
struct array final : object {
inline static constexpr object_type ucl_type = object_type::array;