================
@@ -0,0 +1,31 @@
+#include "Array.h"
+
+// Implementation of Array<T, Size>
+
+/**
+* Initializes all elements of the array to their default value.
+*/
+template <typename T, int Size>
+Array<T, Size>::Array() {
+   // Implementation stub
+}
+
+/**
+* Array access operator for Array<T, Size>
+* Provides read and write access to elements in the array.
+* This implementation does not perform bounds checking
+*/
+template <typename T, int Size>
+T& Array<T, Size>::operator[](int index) {
+   // Implementation stub
+   static T dummy;
+   return dummy;
----------------
ilovepi wrote:

In some of these cases, it may be a useful test to include documentation 
strings on internal statement, to verify that we're not including them in the 
generated documentation, or if we're supporting those kinds of doc comments, 
that we're testing that they work correctly.

https://github.com/llvm/llvm-project/pull/97518
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to