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

Method spliceLine

compiler/cpp/tests/catch/catch.hpp:4197–4200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4195 }
4196
4197 void spliceLine( std::size_t _indent, std::string& _remainder, std::size_t _pos ) {
4198 lines.push_back( std::string( _indent, ' ' ) + _remainder.substr( 0, _pos ) );
4199 _remainder = _remainder.substr( _pos );
4200 }
4201
4202 typedef std::vector<std::string>::const_iterator const_iterator;
4203

Callers

nothing calls this directly

Calls 2

stringFunction · 0.85
substrMethod · 0.45

Tested by

no test coverage detected