[webkit-dev] Introduce RecursionGuard to prevent recursive calls to a function

Darin Adler darin at apple.com
Thu Jul 25 09:48:59 PDT 2013

I like the idea of this class, but I think the proposal needs a little refinement. My first two thoughts: The name of the class should make it clear it’s only an assertion, not a guard that has an effect on non-debug builds. And we should figure out how to deal with the issue that these data members with booleans will be unused in non-debug builds.

-- Darin

More information about the webkit-dev mailing list