My Project
Public Member Functions | List of all members
bsl::ut_then Class Referencefinal

Defines the expected "result" of a unit test scenario. More...

#include <ut.hpp>

Public Member Functions

template<typename FUNC >
constexpr ut_thenoperator= (FUNC &&func) noexcept
 Executes a lambda function as the body of the "then" portion of the scenario. More...
 

Detailed Description

Defines the expected "result" of a unit test scenario.

Member Function Documentation

◆ operator=()

template<typename FUNC >
constexpr ut_then& bsl::ut_then::operator= ( FUNC &&  func)
inlinenoexcept

Executes a lambda function as the body of the "then" portion of the scenario.

Template Parameters
FUNCthe type of lambda being executed
Parameters
functhe lambda being executed
Returns
Returns a reference to the ut_then.

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