DescriptionFix scoped_refptr copy/move-conversion overload resolution
When an overloaded function takes a scoped_refptr<U> for a different U for
different overloads, the compiler doesn't know which one to take when passing a
scoped_refptr<D>, even if D* is only convertible to one of the U*.
Use SFINAE to eliminate copy/move-convert constructors that shouldn't take part
in the overload resolution.
BUG=None
Committed: https://crrev.com/5313092de707a68b9fc7cf930677fe127fc5317d
Cr-Commit-Position: refs/heads/master@{#388388}
Patch Set 1 #Patch Set 2 : iwyu #
Total comments: 4
Patch Set 3 : remove dummy type name #
Dependent Patchsets: Messages
Total messages: 12 (5 generated)
|