Added << ostream overload to StringRef
This commit is contained in:
parent
bb8c1fb17f
commit
fa3535e95e
5 changed files with 54 additions and 92 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue