MySQL 8.0.39
Source Code Documentation
stdx::ExpectedImplBase Class Reference

#include <expected.h>

Inheritance diagram for stdx::ExpectedImplBase:
[legend]

Public Member Functions

constexpr ExpectedImplBase (bool has_value) noexcept
 
constexpr bool has_value () const
 
constexpr operator bool () const noexcept
 
void swap (ExpectedImplBase &other) noexcept
 

Private Attributes

bool has_value_
 

Constructor & Destructor Documentation

◆ ExpectedImplBase()

constexpr stdx::ExpectedImplBase::ExpectedImplBase ( bool  has_value)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ has_value()

constexpr bool stdx::ExpectedImplBase::has_value ( ) const
inlineconstexpr

◆ operator bool()

constexpr stdx::ExpectedImplBase::operator bool ( ) const
inlineexplicitconstexprnoexcept

◆ swap()

void stdx::ExpectedImplBase::swap ( ExpectedImplBase other)
inlinenoexcept

Member Data Documentation

◆ has_value_

bool stdx::ExpectedImplBase::has_value_
private

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