Hacker News new | past | comments | ask | show | jobs | submit
Clang is a target for the GSL though. How can MSVC's special powers prevent this from being exploitable UB in Clang/LLVM?

This code boils down to static_cast<int>(some_double); so nothing fancy is going on here

Actually Microsoft has their own fork that ships with Visual Studio installer.

However that was me guessing from Herb Sutter's reply.