<div dir="ltr"><div dir="ltr">On Fri, Sep 18, 2020 at 10:15 AM Nicholas Wilson via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Continuing in the vein of making error messages nicer:<br>
<br>
Is there any reason that static assert, which deals with compile <br>
time messages, doesn't function the same way as pragma(msg,...), <br>
which also deals with compile time messages, w.r.t multiple <br>
arguments to the string that can be anything including types?<br>
<br>
It just occurred to me that there is a lot of string <br>
concatenation and `.stringof` use.</blockquote><div><br></div><div></div><div><span style="color:rgb(204,204,204);font-family:"Noto Color Emoji","Apple Color Emoji","Segoe UI Emoji",Times,Symbola,Aegyptus,Code2000,Code2001,Code2002,Musica,serif,LastResort;font-size:36px;text-align:center">🤯</span>  <br></div><div><br></div><div>This is SO obvious! I've always wanted this, I just never knew it!</div></div></div>