HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields
test::operand< error_class::exact, bool > Struct Reference

#include <hikotest/hikotest.hpp>

Public Types

using value_type = bool
 

Public Member Functions

 operand (error< error_class::exact >, value_type const &value) noexcept
 
 operator std::expected< void, std::string > () const noexcept
 Convert the boolean result as an std::expected.
 

Data Fields

value_type const & v
 

Detailed Description

Result of the boolean expression.

The operand is the result of a spaceship-operator between:

Member Function Documentation

◆ operator std::expected< void, std::string >()

test::operand< error_class::exact, bool >::operator std::expected< void, std::string > ( ) const
inlinenoexcept

Convert the boolean result as an std::expected.

This allows an expression to be directly used as an argument to check().


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