Skip to content

Instantly share code, notes, and snippets.

@jpf91
Created February 13, 2013 14:34
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/4944999 to your computer and use it in GitHub Desktop.
Save jpf91/4944999 to your computer and use it in GitHub Desktop.
import std.string;
struct Date
{
this(int)
{
}
short _year = 2;
ubyte _month = 1;
ubyte _day = 1;
}
void func(Date d)
{
}
void main()
{
auto b = Date();
func(b);
func(Date());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment