Chromium Code Reviews
DescriptionMake expressions like "if (weak_ptr)" work
Use the same trick as scoped_ptr<T>.
Add comments regarding == and != operators and their relation to
the bool trick.
BUG=245942
R=darin@chromium.org, rsleevi@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204438
Patch Set 1 #Patch Set 2 : Update comments #Patch Set 3 : Fix comment again #
Messages
Total messages: 10 (0 generated)
|
||||||||||||||||||||||||||||