1 /* 2 * Created by Phil Nash on 15/6/2018. 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_generators.hpp" 9 #include "catch_random_number_generator.h" 10 #include "catch_interfaces_capture.h" 11 12 #include <limits> 13 #include <set> 14 15 namespace Catch { 16 ~IGeneratorTracker()17IGeneratorTracker::~IGeneratorTracker() {} 18 what() const19const char* GeneratorException::what() const noexcept { 20 return m_msg; 21 } 22 23 namespace Generators { 24 ~GeneratorUntypedBase()25 GeneratorUntypedBase::~GeneratorUntypedBase() {} 26 acquireGeneratorTracker(SourceLineInfo const & lineInfo)27 auto acquireGeneratorTracker( SourceLineInfo const& lineInfo ) -> IGeneratorTracker& { 28 return getResultCapture().acquireGeneratorTracker( lineInfo ); 29 } 30 31 } // namespace Generators 32 } // namespace Catch 33