C++ Utilities 5.26.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Loading...
Searching...
No Matches
misc.cpp File Reference
#include "./misc.h"
#include "./nativefilestream.h"
#include <streambuf>
Include dependency graph for misc.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define CPP_UTILITIES_IOMISC_STRING_VIEW
 

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.
 
std::string CppUtilities::readFile (std::string_view path, std::string_view::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.
 

Macro Definition Documentation

◆ CPP_UTILITIES_IOMISC_STRING_VIEW

#define CPP_UTILITIES_IOMISC_STRING_VIEW

Definition at line 1 of file misc.cpp.