We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0460418 commit c53caaeCopy full SHA for c53caae
libcxx/include/__memory/unique_ptr.h
@@ -300,7 +300,7 @@ class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
300
// We provide some helper classes that allow bounds checking when accessing a unique_ptr<T[]>.
301
// There are a few cases where bounds checking can be implemented:
302
//
303
-// 1. When an array cookie (see [1]) exists at the beginning of the array allocation, we are
+// 1. When an array cookie exists at the beginning of the array allocation, we are
304
// able to reuse that cookie to extract the size of the array and perform bounds checking.
305
// An array cookie is a size inserted at the beginning of the allocation by the compiler.
306
// That size is inserted implicitly when doing `new T[n]` in some cases (as of writing this
0 commit comments