D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 4932 - Add opUnary("&") address-of support
Summary: Add opUnary("&") address-of support
Status: RESOLVED WONTFIX
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P2 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 21:42 UTC by Austin Hastings
Modified: 2014-08-06 01:40 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Austin Hastings 2010-09-23 21:42:58 UTC
The &foo unary address-of operator appears to be missing from the list of supported unary ops.
Comment 1 Vladimir Panteleev 2012-02-01 20:57:20 UTC
TDPL explicitly lists & as an operator which cannot be overloaded.
Comment 2 hsteoh 2014-08-06 01:40:11 UTC
TDPL explicitly lists the address-of & operator as one that cannot be overloaded.