cppassist  1.0.0.f4fab4f962ff
C++ sanctuary for small but powerful and frequently required, stand alone features.
readfile.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 
5 #include <string>
6 
7 #include <cppassist/cppassist_api.h>
8 
9 
10 namespace cppassist
11 {
12 namespace fs
13 {
14 
15 
28 CPPASSIST_API bool readFile(const std::string & filePath, std::string & content);
29 
40 CPPASSIST_API std::string readFile(const std::string & filePath);
41 
42 
43 } // namespace fs
44 } // namespace cppassist
Definition: ArgumentParser.h:12
CPPASSIST_API bool readFile(const std::string &filePath, std::string &content)
Read entire file into a string.