Skip to content

std::as_unsafe<To, From>

as_unsafe<To, From>

Performs an unsafe cast from one type to another

Signature

as_unsafe(value: From) -> To requires <To, From>

Specifiers

  • constexpr