View source code
Display the source code in dmd/escape.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
dmd.escape.isReferenceToMutable
- multiple declarations
Function 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.
Parameters
Name | Description |
---|---|
t | type of the argument |
Returns
true if it's a pointer (or reference) to mutable data
Function isReferenceToMutable
Is parameter a reference to a mutable value?
This is used if an argument has a corresponding Parameter. The argument type is necessary if the Parameter is inout.
Parameters
Name | Description |
---|---|
p | Parameter to check |
t | type of corresponding argument |
Returns
true if it's a pointer (or reference) to mutable data
Authors
License
Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.