A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/microsoft/wil/wiki/Error-handling-helpers-internals below:

Error handling helpers internals · microsoft/wil Wiki · GitHub

This page describes implementation details of the WIL error handling helpers. Apps should not rely on these details, because they are subject to change. The details are documented here to assist with debugging and to assist people who are implementing WIL itself.

The return macros generally expand to

__WI_SUPPRESS_4127_S
do {
    ...
    if (some_condition(...)) {
        __RETURN_SOMETHING(...);
    }
} __WI_SUPPRESS_4127_E while ((void)0, 0)

The body of the do loop is performed with warning 4127 suppressed because the some_condition(...) may, after compiler optimization, turn into a constant that is always true or always false.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4