Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions strings/base_module_numerics_ixx.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@
#if defined(_MSC_VER)
#pragma detect_mismatch("C++/WinRT version", CPPWINRT_VERSION)
#endif

// Windows SDK's windowsnumerics.impl.h transitively includes <stdexcept> and
// <limits>, while mingw-w64's transitively includes <algorithm> and <cmath>.
// Including them in advance here keeps them out of the module purview.

#include <stdexcept>
#include <limits>
#include <algorithm>
#include <cmath>