Closed ipadjen closed 4 months ago
My attempt on tackling the issue with the leaky ostream.
Example how I control it in the API:
bool isvalid = val3dity::is_valid(points, polys, val3dity::Parameters().terminal_output(false));
To do this, I also introduced the named parameter idiom to the API. You can chain the other parameters and the order of calling shouldn't matter.
Naming still needs a bit of work (output_terminal, terminal_output, or something else).
My attempt on tackling the issue with the leaky ostream.
Example how I control it in the API:
To do this, I also introduced the named parameter idiom to the API. You can chain the other parameters and the order of calling shouldn't matter.
Naming still needs a bit of work (output_terminal, terminal_output, or something else).