diff --git a/IOStreams/String.h b/IOStreams/String.h index ebae45d..06b01be 100644 --- a/IOStreams/String.h +++ b/IOStreams/String.h @@ -13,6 +13,7 @@ namespace Alepha::Hydrogen::IOStreams ::detail:: String_m inline namespace exports { class String; + enum { Str }; enum { FinishString }; @@ -48,6 +49,12 @@ namespace Alepha::Hydrogen::IOStreams ::detail:: String_m } }; + inline String + operator << ( decltype( Str ), const Alepha::OStreamable auto &t ) + { + return String{} << t; + } + inline std::string exports::stringify( const Alepha::OStreamable auto &item, Alepha::OStreamable auto && ... params ) {