Add static_assert on mismatches of base::Bind args and the target params
This CL adds a static_assert to detect the Bind earlier and to emit an readable error message. Bug: 746955 Change-Id: Id8081be63f789c7896a9a4229fe3978a7fdedc41 Reviewed-on: https://chromium-review.googlesource.com/583976Reviewed-by:Daniel Cheng <dcheng@chromium.org> Commit-Queue: Taiju Tsuiki <tzik@chromium.org> Cr-Commit-Position: refs/heads/master@{#490741}
Showing
Please register or sign in to comment