rtconst class std::Unsafe

sys::Obj
  std::Unsafe

Unsafe is used to wrap a non-const mutable objects so that it can be passed as an immutable reference.

get

Unsafe^T get()

Get the wrapped object.

isImmutable

virtual override Bool isImmutable()

make

new make(Unsafe^T val)

Wrap specified object.

toImmutable

virtual override Unsafe<Unsafe^T> toImmutable()

val

Unsafe^T val()

Get the wrapped object.