How to make the compile time red color warning ?
Виталий Фадеев
vital.fadeev at gmail.com
Wed Jun 3 11:58:34 UTC 2020
On Wednesday, 3 June 2020 at 11:56:26 UTC, MrSmith wrote:
> On Wednesday, 3 June 2020 at 11:48:27 UTC, Виталий Фадеев wrote:
>> Use case:
>> I have class for Windows OS.
>> I not implement class for Linux.
>> I want message about it. When code compiled under Linux.
>
> You could use `static assert(false, "Message");` to make it an
> error.
That is true!
I happy!
More information about the Digitalmars-d-learn
mailing list