C++ Utilities 5.24.7
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Loading...
Searching...
No Matches
Namespaces | Functions
misc.h File Reference
#include "../global.h"
#include <string>
#include <string_view>
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CppUtilities
 Contains all utilities provides by the c++utilities library.
 

Functions

CPP_UTILITIES_EXPORT std::string CppUtilities::readFile (const std::string &path, std::string::size_type maxSize)
 Reads all contents of the specified file in a single call.
 
CPP_UTILITIES_EXPORT void CppUtilities::writeFile (std::string_view path, std::string_view contents)
 Writes all contents to the specified file in a single call.