isReferenceToMutable

Is type a reference to a mutable value?

This is used to determine if an argument that does not have a corresponding Parameter, i.e. a variadic argument, is a pointer to mutable data.

  1. bool isReferenceToMutable(Type t)
    bool
    isReferenceToMutable
  2. bool isReferenceToMutable(Parameter p, Type t)

Parameters

t Type

type of the argument

Return Value

Type: bool

true if it's a pointer (or reference) to mutable data

Suggestion Box / Bug Report