Leverage std::optional for better readability
Instead of repeated hasProperty checks, do that once and then leverage the std::optional behavior to simplify the code.
parent
b72dbda8
Please register or sign in to comment
Instead of repeated hasProperty checks, do that once and then leverage the std::optional behavior to simplify the code.