On Monday, 21 May 2018 at 14:23:07 UTC, Steven Schveighoffer wrote:

But how do you use it?

SomeObject!(Options(true, false, 42, "guess what this does"))

Yes, or if you want something more readable:

enum Options options = { foo: true, bar: false, a: 42, b: "guess what this does" };
SomeObject!options o;

--
/Jacob Carlborg

Reply via email to