MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / MatchAndExplain

Method MatchAndExplain

Tests/config/rapidjsonhelper.cpp:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 constexpr SameString(std::wstring_view str) noexcept : m_MatchStr(str) { }
80
81 constexpr bool MatchAndExplain(const std::tuple<const wchar_t *, rj::SizeType> &args, std::ostream *) const noexcept
82 {
83 return m_MatchStr == std::wstring_view { std::get<0>(args), std::get<1>(args) };
84 }
85
86 void DescribeTo(std::ostream *os) const { DescribeHelper(true, os); }
87 void DescribeNegationTo(std::ostream *os) const { DescribeHelper(false, os); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected