r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
Utils.hpp
Go to the documentation of this file.
1///
2/// @file Utils.hpp
3/// @brief This file contains utility functions
4/// @namespace utl
5///
6
7#pragma once
8
9#include <unordered_map>
10#include <vector>
11
12namespace utl
13{
14
15 [[nodiscard]] std::vector<char> readFile(const std::string &filename);
16 [[nodiscard]] std::unordered_map<std::string, std::string> getEnvMap(const char *const *env);
17
18} // namespace utl
std::vector< char > readFile(const std::string &filename)
Definition utils.cpp:9
std::unordered_map< std::string, std::string > getEnvMap(const char *const *env)
Definition utils.cpp:30