#1185 added source information to the exception using C++20 (#ifdef __cpp_lib_source_location). Now, it may not be desirable to have source file paths strings included in release builds.
Can a facility be added which allows a user to control whether winrt adds source location to the exception?
Maybe through a new configuration define? e.g.
#define WINRT_NO_SOURCE_LOCATION