MCPcopy Create free account
hub / github.com/RenderKit/embree / operator -

Method operator -

common/sys/filename.cpp:106–110  ·  view source on GitHub ↗

! removes the base from a filename (if possible) */

Source from the content-addressed store, hash-verified

104
105 /*! removes the base from a filename (if possible) */
106 FileName FileName::operator -( const FileName& base ) const {
107 size_t pos = filename.find_first_of(base);
108 if (pos == std::string::npos) return *this;
109 return FileName(filename.substr(pos+1));
110 }
111
112 /*! == operator */
113 bool operator== (const FileName& a, const FileName& b) {

Callers

nothing calls this directly

Calls 2

FileNameClass · 0.85
substrMethod · 0.80

Tested by

no test coverage detected