static assert("nothing")

realhet real_het at hotmail.com
Tue May 31 09:52:10 UTC 2022


On Tuesday, 31 May 2022 at 09:35:30 UTC, Andrea Fontana wrote:
> On Tuesday, 31 May 2022 at 08:51:45 UTC, realhet wrote:
> Check if that string is init.

assert("", "cool");
assert("ehh", "cool");
assert(string.init, "Not cool");

I feel some "JavaScript equality operator" vibes in this :D
Anyways, I will be extra careful with these.


More information about the Digitalmars-d-learn mailing list