---
title: "init(_:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/autoreleasingunsafemutablepointer/init(_:)-7rndr"
---

# init(_:)

Explicit construction from an UnsafeMutablePointer.

## Declaration

```swift
init?<U>(_ from: UnsafeMutablePointer<U>?)
```

## Discussion

Discussion Returns nil if from is nil. This is inherently unsafe; UnsafeMutablePointer assumes the referenced memory has +1 strong ownership semantics, whereas AutoreleasingUnsafeMutablePointer implies +0 semantics. warning: Accessing pointee as a type that is unrelated to the underlying memory’s bound type is undefined.

## See Also

### Converting Pointers

- [init(_:)](swift/autoreleasingunsafemutablepointer/init(_:)-4mrz1.md)
