From 40d859154c1692e6e2d6a7ad91efd610c9b7e5be Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 7 Apr 2023 11:24:12 +0000 Subject: [PATCH] [libc] Add value_type to cpp::array --- libc/src/__support/CPP/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/src/__support/CPP/array.h b/libc/src/__support/CPP/array.h index 97db026..c0bd32f 100644 --- a/libc/src/__support/CPP/array.h +++ b/libc/src/__support/CPP/array.h @@ -18,7 +18,7 @@ template struct array { static_assert(N != 0, "Cannot create a __llvm_libc::cpp::array of size 0."); T Data[N]; - + using value_type = T; using iterator = T *; using const_iterator = const T *; -- 2.7.4