File indexing completed on 2025-01-30 10:02:50
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef CATCH_STREAM_END_STOP_HPP_INCLUDED
0009 #define CATCH_STREAM_END_STOP_HPP_INCLUDED
0010
0011 #include <catch2/internal/catch_stringref.hpp>
0012
0013 namespace Catch {
0014
0015
0016
0017
0018
0019 struct StreamEndStop {
0020 constexpr StringRef operator+() const { return StringRef(); }
0021
0022 template <typename T>
0023 constexpr friend T const& operator+( T const& value, StreamEndStop ) {
0024 return value;
0025 }
0026 };
0027
0028 }
0029
0030 #endif