micro-test-plus 3.2.0
µTest++, a lightweight testing framework for embedded platforms
Loading...
Searching...
No Matches
micro_os_plus::micro_test_plus::detail::nothrow_< Callable_T > Struct Template Reference

Operator to check if the expression does not throw any exception. More...

#include <micro-os-plus/micro-test-plus.h>

+ Inheritance diagram for micro_os_plus::micro_test_plus::detail::nothrow_< Callable_T >:

Public Member Functions

constexpr nothrow_ (const Callable_T &func)
 
constexpr operator bool () const
 

Public Attributes

const bool value_ {}
 

Detailed Description

template<class Callable_T>
struct micro_os_plus::micro_test_plus::detail::nothrow_< Callable_T >

Operator to check if the expression does not throw any exception.

Definition at line 665 of file detail.h.

Constructor & Destructor Documentation

◆ nothrow_()

template<class Callable_T >
constexpr micro_os_plus::micro_test_plus::detail::nothrow_< Callable_T >::nothrow_ ( const Callable_T & func)
inlineexplicitconstexpr

Definition at line 667 of file detail.h.

Member Function Documentation

◆ operator bool()

template<class Callable_T >
constexpr micro_os_plus::micro_test_plus::detail::nothrow_< Callable_T >::operator bool ( ) const
inlineconstexpr

Definition at line 683 of file detail.h.

Member Data Documentation

◆ value_

template<class Callable_T >
const bool micro_os_plus::micro_test_plus::detail::nothrow_< Callable_T >::value_ {}

Definition at line 688 of file detail.h.


The documentation for this struct was generated from the following file: