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
|
inline namespace exports
|
||||||
{
|
{
|
||||||
class String;
|
class String;
|
||||||
|
enum { Str };
|
||||||
|
|
||||||
enum { FinishString };
|
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
|
inline std::string
|
||||||
exports::stringify( const Alepha::OStreamable auto &item, Alepha::OStreamable auto && ... params )
|
exports::stringify( const Alepha::OStreamable auto &item, Alepha::OStreamable auto && ... params )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user