1
0
forked from Alepha/Alepha

Allow for setting of delimiters.

This commit is contained in:
2025-10-03 20:38:13 -04:00
parent 33deefcbf8
commit a9d4aabf02

View File

@ -27,6 +27,9 @@ namespace Alepha::Hydrogen::IOStreams ::detail:: delimiters_m
explicit
Delimiter( const std::string dflt )
: state( [dflt] { return dflt; } ) {}
void set( const std::string s ) { state.setDefault( s ); }
void set( const char c ) { set( std::string{ c } ); }
};
namespace exports