Skip to main content

## __arm_mte_ptrdiff

# Function __arm_mte_ptrdiff

Source

    pub unsafe fn __arm_mte_ptrdiff<T, U>(a: *const T, b: *const U) -> i64

🔬This is a nightly-only experimental API. (`stdarch_aarch64_mte` #129010)
Available on (AArch64 or `target_arch=arm64ec`) and target feature `mte` only.
Expand description

Calculate the difference between the address parts of two pointers, ignoring the tags, and sign-extending the result.