Re:Using enums to represent state in Rust
by saurik on Monday September 25, 2023 @09:17PM
(#37653086)
If doesn't make a lot of sense in most cases in C++ either (and as auto gets better it has only made sense in fewer cases since it was introduced)... I write a lot of C++ and I essentially never ever ever need or even merely use decltype; but, when it does make sense, it really truly makes sense, and here we have a place in Rust that sounds exactly like the use case in C++ where this actually comes up.
[ Parent
| on HN ]
There are no comments on this comment yet.