File indexing completed on 2025-01-18 09:54:06
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef CATCH_STARTUP_EXCEPTION_REGISTRY_HPP_INCLUDED
0009 #define CATCH_STARTUP_EXCEPTION_REGISTRY_HPP_INCLUDED
0010
0011
0012 #include <vector>
0013 #include <exception>
0014
0015 namespace Catch {
0016
0017 class StartupExceptionRegistry {
0018 #if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS)
0019 public:
0020 void add(std::exception_ptr const& exception) noexcept;
0021 std::vector<std::exception_ptr> const& getExceptions() const noexcept;
0022 private:
0023 std::vector<std::exception_ptr> m_exceptions;
0024 #endif
0025 };
0026
0027 }
0028
0029 #endif