MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / substr

Method substr

tests/catch.hpp:11227–11232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11225 }
11226 }
11227 auto StringRef::substr( size_type start, size_type size ) const noexcept -> StringRef {
11228 if( start < m_size )
11229 return StringRef( m_start+start, size );
11230 else
11231 return StringRef();
11232 }
11233 auto StringRef::operator == ( StringRef const& other ) const noexcept -> bool {
11234 return
11235 size() == other.size() &&

Callers 15

registerTestMethodsFunction · 0.80
addPatternMethod · 0.80
operator *Method · 0.80
loadBufferMethod · 0.80
setMethod · 0.80
normaliseOptFunction · 0.80
CapturerMethod · 0.80
trimFunction · 0.80
replaceInPlaceFunction · 0.80
expandAliasesMethod · 0.80
extractClassNameFunction · 0.80
subStringMethod · 0.80

Calls 1

StringRefClass · 0.85

Tested by

no test coverage detected