Open duesee opened 1 year ago
Can we have compile-time validated values such as tags, atoms, or sequences? To my knowledge, Rust has no equivalent to C++' consteval. But we could simulate this using macros, such as tag!(), atom!(), sequence_set!().
tag!()
atom!()
sequence_set!()
Can we have compile-time validated values such as tags, atoms, or sequences? To my knowledge, Rust has no equivalent to C++' consteval. But we could simulate this using macros, such as
tag!()
,atom!()
,sequence_set!()
.