[base] Make StrongAlias constexpr
This change makes util::StrongAlias's APIs constexpr and adds small API improvements, such as a mutable overload for value() and an explicit operator bool for IdType. Bug: 954080 Change-Id: I66fe9e407b9e2b6e64f6a0d8a5664b4573aa26bd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2150431Reviewed-by:Łukasz Anforowicz <lukasza@chromium.org> Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#759539}
Showing
Please register or sign in to comment