[webkit-dev] std::optional: * or value()?

Anne van Kesteren annevk at annevk.nl
Mon Nov 25 02:03:56 PST 2024


https://commits.webkit.org/238290@main seemed to express a preference
for using * over value(), but the Code Style Guidelines are silent on
this. Is this something we can establish a guideline for?

I personally think * makes the code slightly more readable due to it
being more concise.


More information about the webkit-dev mailing list