micro-test-plus 4.1.0
µTest++ Testing Framework
Loading...
Searching...
No Matches
exceptions-inline.h File Reference

C++ header file with inline implementations for the µTest++ exceptions comparators. More...

Go to the source code of this file.

Namespaces

namespace  micro_os_plus
 The primary namespace for the µOS++ framework.
namespace  micro_os_plus::micro_test_plus
 Primary namespace for the µTest++ testing framework.

Functions

template<class Callable_T>
constexpr auto micro_os_plus::micro_test_plus::nothrow (const Callable_T &func)
 Check if a callable does not throw an exception.
template<class Callable_T>
constexpr auto micro_os_plus::micro_test_plus::throws (const Callable_T &func)
 Check if a callable throws an exception (any exception).
template<class Exception_T, class Callable_T>
constexpr auto micro_os_plus::micro_test_plus::throws (const Callable_T &func)
 Check if a callable throws a specific exception.

Detailed Description

This header provides the inline implementations for the exception comparator templates used within the µTest++ framework.

...

All definitions reside within the micro_os_plus::micro_test_plus namespace, ensuring clear separation from user code and minimising the risk of naming conflicts.

The header files are organised within the include/micro-os-plus/micro-test-plus folder to maintain a structured and modular codebase.

This file is intended solely for internal use within the framework and should not be included directly by user code.

Definition in file exceptions-inline.h.