addressElem

Take address of an elem. Accounts for e being an rvalue by assigning the rvalue to a temp.

extern (C++)
addressElem
(,,
bool alwaysCopy = false
)

Parameters

e elem*

elem to take address of

t Type

Type of elem

alwaysCopy bool

when true, always copy e to a tmp

Return Value

Type: elem*

the equivalent of &e

Suggestion Box / Bug Report