azure-sdk-for-cpp/samples/helpers/get-env
Larry Osterman b303a70eaa
Stop disabling security warnings in get_env.hpp; Fixed all incorrect … (#4655)
* Disable deprecation warnings in cmakelists.txt to avoid introducing new concepts; removed unnecessary uses of get_env.hpp

* Removed use of GetEnvHelper from AMQP samples

* Removed special case for get_env.hpp
2023-06-01 12:50:45 -07:00
..
inc Stop disabling security warnings in get_env.hpp; Fixed all incorrect … (#4655) 2023-06-01 12:50:45 -07:00
src Audit string comparisons (#4197) 2023-01-03 11:16:54 -08:00
CMakeLists.txt
LICENSE
README.md

Get Environment Variable for Samples

This is a helper library for samples that deals with getting environment variables.

Since getenv() may generate warnings on MSVC, and is not available on UWP, sample code gets cluttered with minor platform-specific nuances. This library hides all that, so that std::getenv() compiles and works the same on Linux, macOS, Win32, and UWP.