String stream test << operator

This commit is contained in:
John Wellbelove 2020-08-07 08:33:25 +01:00
parent 5f0dae41de
commit d389f06cdf

View File

@ -63,6 +63,18 @@ namespace
namespace etl
{
//***********************************
template <size_t SIZE>
std::ostream& operator << (std::ostream& os, const etl::string<SIZE>& str)
{
for (auto c : str)
{
os << c;
}
return os;
}
//***********************************
std::ostream& operator << (std::ostream& os, const IString& str)
{