Re:Modern C++ Won't Save Us
by steveklabnik on Thursday April 25, 2019 @03:53PM
(#19751865)
Yes, you have to use if let, not let. That code would be a compiler error. (Specifically, a “non-exhaustive pattern” error.)
[ Parent
| on HN ]
There are no comments on this comment yet.