Unverified Commit 1ee6a1e3 authored by Nick Desaulniers's avatar Nick Desaulniers Committed by GitHub
Browse files

[libc] fix -Wshift-count-overflow in UInt.h (#74649)

Not that I'm very good at SFINAE, but it seems that conversion operators
are
perhaps difficult to compose with SFINAE. I saw an example that used one
layer
of indirection to have an explicit return type that could then be used
with
enable_if_t.

Link: https://stackoverflow.com/a/7604580
Fixes: #74623
parent dfd36aa7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment