FuncDeclaration.isTypeIsolated

See if pointers from function parameters, mutable globals, or uplevel functions could leak into type t.

  1. bool isTypeIsolated(Type t)
    class FuncDeclaration
    extern (D) final
    bool
    isTypeIsolated
  2. bool isTypeIsolated(Type t, StringTable!Type parentTypes)

Parameters

t Type

type to check if it is isolated

Return Value

Type: bool

true if t is isolated from any inputs to the function

Suggestion Box / Bug Report