mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-21 19:36:05 +08:00
String stream test << operator
This commit is contained in:
parent
5f0dae41de
commit
d389f06cdf
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user