ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
ppforest2::io::text Namespace Reference

Functions

void write_file (std::string const &content, std::string const &path, ErrorHandler on_error=invariant)
 Write a string to a file.
 

Function Documentation

◆ write_file()

void ppforest2::io::text::write_file ( std::string const & content,
std::string const & path,
ErrorHandler on_error = invariant )

Write a string to a file.

Parameters
contentThe text to write.
pathThe output file path.
on_errorError handler for file failures.