MCPcopy Create free account
hub / github.com/apache/thrift / rangeToString

Function rangeToString

compiler/cpp/tests/catch/catch.hpp:1774–1784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1772 namespace Detail {
1773 template<typename InputIterator>
1774 std::string rangeToString( InputIterator first, InputIterator last ) {
1775 std::ostringstream oss;
1776 oss << "{ ";
1777 if( first != last ) {
1778 oss << Catch::toString( *first );
1779 for( ++first ; first != last ; ++first )
1780 oss << ", " << Catch::toString( *first );
1781 }
1782 oss << " }";
1783 return oss.str();
1784 }
1785}
1786
1787} // end namespace Catch

Callers 1

toStringFunction · 0.85

Calls 2

toStringFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected