Guest User

Untitled

a guest
Jan 13th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. import std.stdio, core.thread, std.process;
  2.  
  3. struct S
  4. {
  5. @disable this();
  6.  
  7. static S opCall()
  8. {
  9. return S(0);
  10. }
  11. this(int i = 0)
  12. {
  13. writeln("creating");
  14. }
  15. }
  16.  
  17. void main()
  18. {
  19. S s;
  20. }
Add Comment
Please, Sign In to add comment