[webkit-dev] converting by constructor

Chris Jerdonek cjerdonek at webkit.org
Mon May 17 12:39:34 PDT 2010


Hi, I have a basic question.  What has been WebKit's stance on the use of the
explicit keyword (for higher-level objects in particular)?  Do we prefer the
looser API's that conversion by constructor affords, or do we more often
discourage relying on conversion by constructor?

For comparison, the Google C++ style guide says the explicit keyword should
almost always be used.  Note that I'm not suggesting that this be added to
our style guide.

Thanks,
--Chris


More information about the webkit-dev mailing list