Tracking Issue for unchecked_disjoint_bitor (original) (raw)

Feature gate: #![feature(disjoint_bitor)]

This is a tracking issue for the unchecked_disjoint_bitor method on integer types (and the associated intrinsic implementing it).

This is a method for cases where a | b and a + b return the same value, named after the disjoint flag in LLVM.

ACP: rust-lang/libs-team#373

Public API

impl u8/.../u128/usize { pub const unsafe fn unchecked_disjoint_bitor(self, other: Self) -> Self; }

Steps / History

Unresolved Questions

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html