Cannot pass by reference

Jeroen Bollen jbinero at gmail.com
Mon Nov 18 10:21:08 PST 2013


On Saturday, 16 November 2013 at 16:34:31 UTC, Ali Çehreli wrote:
> The problem with your example is that unlike main.c in my 
> example, what you pass is an rvalue, which may not be bound to 
> the ref parameter.
Thanks, this is what I needed!


More information about the Digitalmars-d-learn mailing list