On 12/23/12, Shadow_exe <[email protected]> wrote:
> for(uint y=0; y<10; ++y){
>       auto m = new Mutex();
>       writeln(&m);
> }

Use writeln(cast(void*)m) to get the address of the object, otherwise
you're writing the address of the reference (which each time refers to
a different object).

Reply via email to