On Monday, 10 March 2025 at 22:55:03 UTC, Ali Çehreli wrote:
You would expect that to be provided by one of the following:

  https://dlang.org/phobos/std_traits.html

  https://dlang.org/spec/traits.html

But in this case it's the "is expression":

  https://dlang.org/spec/expression.html#is_expression

static assert (is (S == struct));


I don't know how long I would have hunted for that without finding it. Thank you!

Andy

Reply via email to