"alias that this" or "alias this : that"
Jakob Ovrum
jakobovrum at gmail.com
Sat Feb 8 07:28:05 PST 2014
On Saturday, 8 February 2014 at 14:47:27 UTC, Timon Gehr wrote:
> On 02/08/2014 02:59 PM, Jakob Ovrum wrote:
>> On Saturday, 8 February 2014 at 13:43:23 UTC, Timon Gehr wrote:
>>> Of course, the design of alias this is also not orthogonal.
>>> Eg. one may want to forward members perfectly without enabling
>>> implicit conversions. (opForward?)
>>
>> One can easily do that with opDispatch for named members, or
>> using
>> std.typecons.Proxy for all members.
>
> That's wrapping, not forwarding.
Right, perfect forwarding in D is still quite messy (outside of
AliasThis).
More information about the Digitalmars-d
mailing list