Skip to content

Commit 58811e1

Browse files
authored
Move operator<< to winrt::Windows::Foundation (#1576)
1 parent a5e9452 commit 58811e1

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

strings/base_stringable_streams.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11

22
#ifndef WINRT_LEAN_AND_MEAN
3-
inline std::wostream& operator<<(std::wostream& stream, winrt::Windows::Foundation::IStringable const& stringable)
3+
namespace winrt::Windows::Foundation
44
{
5-
stream << stringable.ToString();
6-
return stream;
5+
inline std::wostream& operator<<(std::wostream& stream, winrt::Windows::Foundation::IStringable const& stringable)
6+
{
7+
stream << stringable.ToString();
8+
return stream;
9+
}
710
}
811
#endif

0 commit comments

Comments
 (0)