cpp header files notes

cpp header files notes

Making sure the header file is defined only once using the #ifndef directive.

#ifndef APP_ENV_H
#define APP_ENV_H

#include <optional>
#include <string>

namespace Scraper {

std::string GetEnvVar(
    const std::string& envVar,
    const std::optional<std::string>& defaultValue = std::nullopt
);

} 

#endif // APP_ENV_H