microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
microfmt::exception_matcher< Tag > Class Template Reference

Typed owner for an exception-matcher traits specialization. More...

#include <hybrid_unwinder.hpp>

Public Types

using traits_type = exception_matcher_traits< Tag >
 
using context_type = typename traits_type::context_type
 

Public Member Functions

constexpr exception_matcher (context_type context) noexcept
 
constexpr value_ref< context_type > context () &noexcept RELOCO_LIFETIMEBOUND
 
constexpr value_ref< const context_type > context () const &noexcept RELOCO_LIFETIMEBOUND
 
constexpr exception_matcher_ref ref () const &noexcept RELOCO_LIFETIMEBOUND
 
constexpr operator exception_matcher_ref () const &noexcept RELOCO_LIFETIMEBOUND
 
value_ref< context_type > context () &&=delete
 
value_ref< const context_type > context () const &&=delete
 
exception_matcher_ref ref () const &&=delete
 
 operator exception_matcher_ref () const &&=delete
 

Detailed Description

template<typename Tag>
class microfmt::exception_matcher< Tag >

Typed owner for an exception-matcher traits specialization.

Member Typedef Documentation

◆ context_type

template<typename Tag >
using microfmt::exception_matcher< Tag >::context_type = typename traits_type::context_type

◆ traits_type

template<typename Tag >
using microfmt::exception_matcher< Tag >::traits_type = exception_matcher_traits<Tag>

Constructor & Destructor Documentation

◆ exception_matcher()

template<typename Tag >
constexpr microfmt::exception_matcher< Tag >::exception_matcher ( context_type  context)
inlineexplicitconstexprnoexcept

Member Function Documentation

◆ context() [1/4]

template<typename Tag >
value_ref< context_type > microfmt::exception_matcher< Tag >::context ( ) &&
delete

◆ context() [2/4]

template<typename Tag >
constexpr value_ref< context_type > microfmt::exception_matcher< Tag >::context ( ) &
inlineconstexprnoexcept

◆ context() [3/4]

template<typename Tag >
value_ref< const context_type > microfmt::exception_matcher< Tag >::context ( ) const &&
delete

◆ context() [4/4]

template<typename Tag >
constexpr value_ref< const context_type > microfmt::exception_matcher< Tag >::context ( ) const &
inlineconstexprnoexcept

◆ operator exception_matcher_ref() [1/2]

template<typename Tag >
microfmt::exception_matcher< Tag >::operator exception_matcher_ref ( ) const &&
delete

◆ operator exception_matcher_ref() [2/2]

template<typename Tag >
constexpr microfmt::exception_matcher< Tag >::operator exception_matcher_ref ( ) const &
inlineconstexprnoexcept

◆ ref() [1/2]

template<typename Tag >
exception_matcher_ref microfmt::exception_matcher< Tag >::ref ( ) const &&
delete

◆ ref() [2/2]

template<typename Tag >
constexpr exception_matcher_ref microfmt::exception_matcher< Tag >::ref ( ) const &
inlineconstexprnoexcept

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