FuncDeclaration.isTypeIsolated

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

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

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

Meta