---
title: "init(_:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/unsaferawpointer/init(_:)-4dxzd"
---

# init(_:)

Creates a new raw pointer from the given mutable raw pointer.

## Declaration

```swift
init?(_ other: UnsafeMutableRawPointer?)
```

## Parameters

- `other`: The mutable raw pointer to convert. If other is nil, the result is nil.

## Discussion

Discussion Use this initializer to explicitly convert other to an UnsafeRawPointer instance. This initializer creates a new pointer to the same address as other and performs no allocation or copying.
