mirror of
https://github.com/catchorg/Catch2.git
synced 2025-03-26 04:14:46 +01:00

This allows us to move <stdexcept> out of the common path, and replace it with just <exception>. The difference between these two headers is ~13k lines after preprocessing on libstdc++ (16k vs 3k) and ~17k lines for MS's STL(33k vs 16k). Note that this is only beneficial if no other stdlib header we use includes <stdexcept>. AFAIK this is true for the newest MS's STL, but I have no idea of the applicability for libstdc++ and libc++.