1 /*
2  *  Created by Phil Nash on 19/07/2017.
3  *
4  * Distributed under the Boost Software License, Version 1.0. (See accompanying
5  * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6  */
7 
8 #include "catch_matchers.h"
9 
10 namespace Catch {
11 namespace Matchers {
12     namespace Impl {
13 
toString() const14         std::string MatcherUntypedBase::toString() const {
15             if( m_cachedToString.empty() )
16                 m_cachedToString = describe();
17             return m_cachedToString;
18         }
19 
20         MatcherUntypedBase::~MatcherUntypedBase() = default;
21 
22     } // namespace Impl
23 } // namespace Matchers
24 
25 using namespace Matchers;
26 using Matchers::Impl::MatcherBase;
27 
28 } // namespace Catch
29