cortexlib  v0.2.0
Public Member Functions | List of all members
cxl::utils::match_any Struct Reference

Wildcard Empty Placeholder. More...

#include <match.hxx>

Public Member Functions

template<typename T >
constexpr match_any ([[maybe_unused]] T &&t) noexcept
 
constexpr match_any (const match_any &) noexcept=delete
 
constexpr match_any (match_any &&) noexcept=delete
 
constexpr auto operator= (const match_any &) noexcept -> match_any &=delete
 
constexpr auto operator= (match_any &&) noexcept -> match_any &=delete
 
constexpr ~match_any () noexcept=delete
 

Detailed Description

Wildcard Empty Placeholder.

Names a placeholder type that can match to anything in a match expression. The value is un-retrievable from bottom, use auto&& <var-name> to have a retrievable value.

Constructor & Destructor Documentation

◆ match_any() [1/3]

template<typename T >
constexpr cxl::utils::match_any::match_any ( [[maybe_unused] ] T &&  t)
inlineexplicitconstexprnoexcept

◆ match_any() [2/3]

constexpr cxl::utils::match_any::match_any ( const match_any )
explicitconstexprdeletenoexcept

◆ match_any() [3/3]

constexpr cxl::utils::match_any::match_any ( match_any &&  )
explicitconstexprdeletenoexcept

◆ ~match_any()

constexpr cxl::utils::match_any::~match_any ( )
constexprdeletenoexcept

Member Function Documentation

◆ operator=() [1/2]

constexpr auto cxl::utils::match_any::operator= ( const match_any ) -> match_any &=delete
constexprdeletenoexcept

◆ operator=() [2/2]

constexpr auto cxl::utils::match_any::operator= ( match_any &&  ) -> match_any &=delete
constexprdeletenoexcept

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