Function reinterpretCast

Treats the memory of one variable as if it is the type of another variable.

ref T reinterpretCast(T, V)(
  ref return V value
) @system;

History

Added January 20, 2025