DescriptionCallback support for unbound reference and array arguments.
Because the callback object uses const An& for the type of the Run() function in argument forwarding, the code breaks for An=T& or An=T[]. This CL adds in code to modify the parameter type to remove duplicate references, and other fun.
BUG=35223
TEST=new unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79239
Patch Set 1 #Patch Set 2 : silly fix. #Patch Set 3 : git try #Patch Set 4 : Fix copies #Patch Set 5 : Fix up unittests and asserts #Patch Set 6 : Cleaned up. #
Total comments: 6
Patch Set 7 : comment fixes. #
Messages
Total messages: 5 (0 generated)
|