laserpants / dotenv-cpp

:cow: A utility to load environment variables from a .env file
BSD 3-Clause "New" or "Revised" License
30 stars 12 forks source link

Update dotenv.h to support C++17 or newer #3

Closed SSIvanov19 closed 2 years ago

SSIvanov19 commented 2 years ago

Change the obsolete in C++17 std::ptr_fun and std::not1 to a lambda function. Now the header file can be compiled with C++17 or newer.