Added << ostream overload to StringRef

This commit is contained in:
Phil Nash committed 2017-08-14 08:50:44 +01:00
1 parent bb8c1fb17f
commit fa3535e95e
5 files changed
+54 -92

No files matched your search

+4 -1
View File
@@ -9,6 +9,7 @@
#include <cstddef>
#include <string>
#include <iosfwd>
namespace Catch {
@@ -76,7 +77,9 @@ namespace Catch {
auto operator + ( StringRef const& lhs, StringRef const& rhs ) -> String;
auto operator + ( StringRef const& lhs, char const* rhs ) -> String;
auto operator + ( char const* lhs, StringRef const& rhs ) -> String;
auto operator << ( std::ostream& os, StringRef const& sr ) -> std::ostream&;
} // namespace Catch
#endif // CATCH_STRINGREF_H_INCLUDED