forked from Alepha/Alepha
Simpler Str <<
form.
This commit is contained in:
@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user