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

Method tryTranslators

tests/catch.hpp:8419–8425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8417 }
8418
8419 std::string ExceptionTranslatorRegistry::tryTranslators() const {
8420 if (m_translators.empty()) {
8421 std::rethrow_exception(std::current_exception());
8422 } else {
8423 return m_translators[0]->translate(m_translators.begin() + 1, m_translators.end());
8424 }
8425 }
8426
8427#else // ^^ Exceptions are enabled // Exceptions are disabled vv
8428 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