Skip to content

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

@dmachaj

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.

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