mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-02 21:23:51 +00:00
In the future we can expect many more matchers, so let's give them a place to live. Also moved matcher-related internal files to `internal` subfolder. Ideally we should sort out all of our source code, but that will have to come later.
23 lines
559 B
C++
23 lines
559 B
C++
/*
|
|
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
*/
|
|
|
|
#include <catch2/matchers/catch_matchers.h>
|
|
|
|
namespace Catch {
|
|
|
|
namespace Matchers {
|
|
|
|
std::string MatcherUntypedBase::toString() const {
|
|
if (m_cachedToString.empty())
|
|
m_cachedToString = describe();
|
|
return m_cachedToString;
|
|
}
|
|
|
|
MatcherUntypedBase::~MatcherUntypedBase() = default;
|
|
|
|
} // namespace Matchers
|
|
|
|
} // namespace Catch
|