Unique.opUnary

Dereferences the pointer. It is defined only for pointers, not for reference types like classes, that can be accessed directly.

  1. inout(T) opUnary()
    struct Unique(T)
    version(D_Ddoc)
    ref inout
    inout(T)
    opUnary
    (
    string op
    )
    ()
    if (
    op == "*"
    )
  2. inout(T) opUnary()

Parameters

op

Operation.

Return Value

Type: inout(T)

Reference to the pointed value.

Meta