MCPcopy Create free account
hub / github.com/Profactor/cv-plot / tryTranslators

Method tryTranslators

CvPlot/ext/catch2/inc/catch.hpp:10611–10617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10609 }
10610
10611 std::string ExceptionTranslatorRegistry::tryTranslators() const {
10612 if (m_translators.empty()) {
10613 std::rethrow_exception(std::current_exception());
10614 } else {
10615 return m_translators[0]->translate(m_translators.begin() + 1, m_translators.end());
10616 }
10617 }
10618
10619#else // ^^ Exceptions are enabled // Exceptions are disabled vv
10620 std::string ExceptionTranslatorRegistry::translateActiveException() const {

Callers

nothing calls this directly

Calls 4

translateMethod · 0.80
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected