Closed rrthomas closed 4 years ago
You should now be able to use std::optional: 5ea2db2d6d57315c99922684a67005fbcc62fc3d
I've updated the branch to use std::optional
.
Pretty cool! Why bother with all the casts though? If I’m not mistaken:
Because I don't know much C++! PR updated.
Thanks!
I agree that an
optional
would be better.