unsafe

scala.caps.unsafe
object unsafe

Attributes

Source
caps.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
unsafe.type

Members list

Extensions

Deprecated extensions

extension [T, U](f: T => U)
def unsafeBoxFunArg: T => U

If argument is of type box cs T, converts to type cs T. This avoids the error that would be raised when unboxing *.

If argument is of type box cs T, converts to type cs T. This avoids the error that would be raised when unboxing *.

Attributes

Deprecated
[Since version 3.3]
Source
caps.scala
extension [T](x: T)
def unsafeBox: T

If argument is of type cs T, converts to type box cs T. This avoids the error that would be raised when boxing *.

If argument is of type cs T, converts to type box cs T. This avoids the error that would be raised when boxing *.

Attributes

Deprecated
[Since version 3.3]
Source
caps.scala
def unsafeUnbox: T

If argument is of type box cs T, converts to type cs T. This avoids the error that would be raised when unboxing *.

If argument is of type box cs T, converts to type cs T. This avoids the error that would be raised when unboxing *.

Attributes

Deprecated
[Since version 3.3]
Source
caps.scala