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

Defines the "action" of a unit test scenario. More...

#include <ut.hpp>

Public Member Functions

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

Detailed Description

Defines the "action" of a unit test scenario.

Member Function Documentation

◆ operator=()

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

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

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

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