|
libcppwrap
A collection of C++ wrappers for native APIs
|


Go to the source code of this file.
Namespaces | |
| namespace | wx |
Functions | |
| std::string | wx::read_file_as_string (const char *path) |
| Reads the contents of a file as a string. More... | |
| std::string | wx::read_file_as_string (const std::string &path) |
| Reads the contents of a file as a string. More... | |
| std::string | wx::slurp (const char *path) |
| Reads the contents of a file as a string with trailing whitespace removed. More... | |
| std::string | wx::slurp (const std::string &path) |
| Reads the contents of a file as a string with trailing whitespace removed. More... | |
| std::string | wx::slurp (const std::filesystem::path &path) |
| Reads the contents of a file as a string with trailing whitespace removed. More... | |
| void | wx::spew (const char *path, std::string_view str) |
| Writes a string to a file. More... | |
| void | wx::spew (const std::string &path, std::string_view str) |
| Writes a string to a file. More... | |
| void | wx::spew (const std::filesystem::path &path, std::string_view str) |
| Writes a string to a file. More... | |