openMSX
Public Member Functions | List of all members
optional_fixed_span< T, N > Class Template Reference

#include <optional_fixed_span.hh>

Public Member Functions

constexpr optional_fixed_span () noexcept=default
 
constexpr optional_fixed_span (std::span< T, N > span) noexcept
 
constexpr std::optional< std::span< T, N > > asOptional () const noexcept
 

Detailed Description

template<typename T, size_t N>
class optional_fixed_span< T, N >

Definition at line 21 of file optional_fixed_span.hh.

Constructor & Destructor Documentation

◆ optional_fixed_span() [1/2]

template<typename T , size_t N>
constexpr optional_fixed_span< T, N >::optional_fixed_span ( )
constexprdefaultnoexcept

◆ optional_fixed_span() [2/2]

template<typename T , size_t N>
constexpr optional_fixed_span< T, N >::optional_fixed_span ( std::span< T, N >  span)
inlineconstexprnoexcept

Definition at line 28 of file optional_fixed_span.hh.

Member Function Documentation

◆ asOptional()

template<typename T , size_t N>
constexpr std::optional< std::span< T, N > > optional_fixed_span< T, N >::asOptional ( ) const
inlineconstexprnoexcept

Definition at line 32 of file optional_fixed_span.hh.


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