MCPcopy Create free account
hub / github.com/boostorg/leaf / remove_variance

Function remove_variance

test/diagnostics_test1.cpp:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 }
136
137 void remove_variance(std::string & s)
138 {
139 s.erase(std::remove(s.begin(), s.end(), '\r'), s.end());
140 remove_value(s, " reported at ", "\n");
141 remove_value(s, "Caught:" BOOST_LEAF_CFG_DIAGNOSTICS_FIRST_DELIMITER, ": \"my_exception what\"");
142 }
143
144 bool cmp(std::string a, std::string const & b) noexcept
145 {

Callers 1

cmpFunction · 0.85

Calls 1

remove_valueFunction · 0.85

Tested by

no test coverage detected