Neat trick - 'with' and unnamed objects + 'with' proposals

Bill Baxter dnewsgroup at billbaxter.com
Tue Apr 24 06:03:07 PDT 2007


Denis Golovan wrote:
>> Or perhaps analogous to how constructors are called 'this()' and have a
>> 'this' pointer, we'd have a 'with' pointer so that the meaning of 'this' 
>> in a class wouldn't be shadowed:
> 
>   +1. That feature is useful sometimes.

You say "is" as if it exists in some other language that you've used? 
Does it? And if so what's the syntax?

--bb



More information about the Digitalmars-d mailing list