Skip to content

C++20 consumers should have std::source_location support when logging error information #1184

Description

@dmachaj

throw_hresult has winrt_throw_hresult_handler to call out to logging libraries (such as WIL) when errors are encountered. There is an incomplete note that source information (file, function name, line) are not hooked up. C++20 adds std::source_location which will unblock filling in that information.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions