CTFE in Rust nighties

IGotD- nise at nise.com
Wed Nov 27 07:34:39 UTC 2019


On Wednesday, 27 November 2019 at 06:29:14 UTC, Arun 
Chandrasekaran wrote:
> https://blog.rust-lang.org/inside-rust/2019/11/25/const-if-match.html

Shouldn't they introduce a keyword like "static if" in D. Right 
now it will compiles regardless if it can be evaluated during 
compile time or not, the user will not know. As explicit Rust is, 
they should add an explicit compile time version of the if and 
match statements as well.


More information about the Digitalmars-d mailing list