zturner added a comment. Code looks fine on MSVC and Clang. I don't have the ability to test on GCC, but given that both MSVC and Clang get it right, I would be rather surprised if GCC does not. Seem reasonable? https://reviews.llvm.org/D29467