Skip to content

Instantly share code, notes, and snippets.

@jpf91
Created March 9, 2013 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpf91/5123738 to your computer and use it in GitHub Desktop.
Save jpf91/5123738 to your computer and use it in GitHub Desktop.
import std.stdio;
struct Date
{
this(this){writeln("this(this)"); throw new Exception("");}
~this(){writelln("~this()";};
uint data;
}
void test(Date d)
{
}
void main()
{
Date nd;
auto b = nd;
auto c = nd;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment