---
title: "subscript(_:)"
framework: swift
role: symbol
role_heading: Instance Subscript
path: "swift/autoreleasingunsafemutablepointer/subscript(_:)"
---

# subscript(_:)

Access the ith element of the raw array pointed to by self.

## Declaration

```swift
subscript(i: Int) -> Pointee { get }
```

## Overview

Overview note: self != nil.

## See Also

### Accessing a Pointer’s Memory

- [pointee](swift/autoreleasingunsafemutablepointer/pointee.md)
