# \`unsafeAddress\` and \`unsafeMutableAddress\`

**URL:** <https://forums.swift.org/t/unsafeaddress-and-unsafemutableaddress/79804>\
**Category:** Using Swift\
**Tags:** unsafe\
**Created:** [May 8, 2025, 8:39pm UTC](https://forums.swift.org/t/unsafeaddress-and-unsafemutableaddress/79804 "2025-05-08T20:39:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![theundergroundsorcerer](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/theundergroundsorcerer/32/42232_2.png) [@theundergroundsorcerer](https://forums.swift.org/u/theundergroundsorcerer)\
**Post date:** [May 11, 2025, 1:24pm UTC](https://forums.swift.org/t/unsafeaddress-and-unsafemutableaddress/79804/3 "2025-05-11T13:24:39Z")

</div>

Thank you for the answer.

A few more questions...

1. I assume that for `~Copyable` that's the only way to implement getters and setters right now?
2. For types that are `Copyable`, if for some reason one wants to implement logic that operates "in memory" instead of copying, can these be used too?
3. Is it possible to have both `get` and `set` and `unsafeAddress` and `unsafeMutableAddress` for same property (of `Copyable` type? ). How does it work?

* * *

PS: Are these not documented at all? (Comments within the compiler code would be better than nothing). Are they supposed not to be used in code external to the language implementation?

---

_[View the full topic](https://forums.swift.org/t/unsafeaddress-and-unsafemutableaddress/79804)._
