www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22141] New: Property .capacity is not listed in the array

https://issues.dlang.org/show_bug.cgi?id=22141

          Issue ID: 22141
           Summary: Property .capacity is not listed in the array
                    properties section
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: paultjeadriaanse gmail.com

Under 12.13 - 2 (Dynamic Array Properties
) the .capacity property is not listed, even though it is mentioned in 12.13.1
- 5 (Setting Dynamic Array Length)
See:
https://dlang.org/spec/arrays.html#array-length

--
Jul 24 2021