Add explicit conversion support to StrongAlias
To make StrongAlias<Tag, bool> more attractive for replacing enum used for boolean params, introduce explicit conversion to the underlying type to StrongAlias. Bug: 983022 Change-Id: I14599f05c558dbce9d0d86256079eddc6cea0a1f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1697401 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by:Łukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/master@{#676824}
Showing
Please register or sign in to comment