January 16, 2018 Trait compiles | ||||
---|---|---|---|---|
| ||||
Hello, is there anyway to do something like this: mixin template foo( exp) { static if(__traits(compiles, exp))exp; } Thanks :) |
Copyright © 1999-2021 by the D Language Foundation
January 16, 2018 Trait compiles | ||||
---|---|---|---|---|
| ||||
Hello, is there anyway to do something like this: mixin template foo( exp) { static if(__traits(compiles, exp))exp; } Thanks :) |