azure-sdk-for-cpp/sdk/template
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-template Defend public headers against inclusion of Windows.h (#1719) 2021-02-23 09:56:00 -08:00
ci.yml Automate publishing to vcpkg (#1283) 2021-01-13 14:35:18 -08:00
CMakeLists.txt CMakeLists for each Service (#1524) 2021-01-29 21:53:16 -08:00