inout problems

sclytrack sclytrack at hotmail.com
Wed Feb 22 02:06:15 PST 2012


On 02/22/2012 06:21 AM, Andrej Mitrovic wrote:
> Hmm nevermind. The param type had to be inout, but to do that the ctor
> itself has to be inout. Somehow I managed to put the inout specifier
> in the wrong place when testing, I did this:
>
> this(inout(void*) obj) { } inout
>
> which is not the same as this:
>
> this(inout(void*) obj) inout { }
>
> Damn specs. Anyway it's working ok now.

I'm having trouble with inout. Do you know where those specs are? Are 
there any specs?



More information about the Digitalmars-d-learn mailing list