Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
catch_startup_exception_registry.h
Go to the documentation of this file.
1
/*
2
* Created by Martin on 04/06/2017.
3
* Copyright 2017 Two Blue Cubes Ltd. All rights reserved.
4
*
5
* Distributed under the Boost Software License, Version 1.0. (See accompanying
6
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7
*/
8
#ifndef TWOBLUECUBES_CATCH_STARTUP_EXCEPTION_REGISTRY_H_INCLUDED
9
#define TWOBLUECUBES_CATCH_STARTUP_EXCEPTION_REGISTRY_H_INCLUDED
10
11
12
#include <vector>
13
#include <exception>
14
15
namespace
Catch
{
16
17
class
StartupExceptionRegistry
{
18
public
:
19
void
add
(std::exception_ptr
const
& exception)
noexcept
;
20
std::vector<std::exception_ptr>
const
&
getExceptions
()
const
noexcept
;
21
private
:
22
std::vector<std::exception_ptr> m_exceptions;
23
};
24
25
}
// end namespace Catch
26
27
#endif
// TWOBLUECUBES_CATCH_STARTUP_EXCEPTION_REGISTRY_H_INCLUDED
Catch::StartupExceptionRegistry
Definition
catch_startup_exception_registry.h:17
Catch::StartupExceptionRegistry::getExceptions
std::vector< std::exception_ptr > const & getExceptions() const noexcept
Definition
catch_startup_exception_registry.cpp:22
Catch::StartupExceptionRegistry::add
void add(std::exception_ptr const &exception) noexcept
Definition
catch_startup_exception_registry.cpp:13
Catch
Definition
231-Cfg-OutputStreams.cpp:32
libraries
sys-vm
external
Catch2
include
internal
catch_startup_exception_registry.h
Generated by
1.12.0