Why can't we make reference variables?
Jonathan M Davis
jmdavisProg at gmx.com
Tue Aug 28 23:28:28 PDT 2012
On Wednesday, August 29, 2012 02:04:44 Nick Sabalausky wrote:
> Out of curiosity, what about "MyStruct**" or "MyClass*"?
I'd have to try it, but my guess would be that it only implicitly dereferences
one level (though in the case of MyClass*, that might be enough, since there's
no dereferencing needed on class references - though it's _very_ rare that
having a pointer to a reference like that makes sense in the first place).
- Jonathan M Davis
More information about the Digitalmars-d
mailing list