azure-sdk-for-cpp/sdk/core
Casey Carter f9d4d36ad8
Defend public headers against inclusion of Windows.h (#1719)
* Defend public headers against inclusion of Windows.h

... which defines some nasty function-like macros `min` and `max` when `_NOMINMAX` isn't defined. We prevent expansion as a function-like macro by inserting some token(s) between `min`/`max` and the following `(`. Most commonly that means wrapping the entire qualified-name in `()` a la `(std::min)(x, y)`, but an explicit template argument list (`std::min<int>(x, y)`) works as well.

* clang-format all the things

* Test coverage

I assume that the `azure-meow-common` headers are fully covered by the tests for the `azure-meow-woof` SDKs.
2021-02-23 09:56:00 -08:00
..
azure-core Defend public headers against inclusion of Windows.h (#1719) 2021-02-23 09:56:00 -08:00
perf Rename and structure unit test and perf tests (#1706) 2021-02-23 05:55:12 +00:00
ci.yml Json unit tests (#1464) 2021-01-27 10:07:12 -08:00
CMakeLists.txt Rename and structure unit test and perf tests (#1706) 2021-02-23 05:55:12 +00:00