Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::None< T > Struct Template Reference

Represents a missing value. More...

#include <ahFunctional.H>

Inheritance diagram for Aleph::None< T >:
[legend]
Collaboration diagram for Aleph::None< T >:
[legend]

Public Member Functions

Tget_item () override
 
const Tget_item () const override
 
bool is_found () const noexcept override
 
- Public Member Functions inherited from Aleph::Found_Item< T >
virtual ~Found_Item ()=default
 

Detailed Description

template<typename T>
struct Aleph::None< T >

Represents a missing value.

Definition at line 87 of file ahFunctional.H.

Member Function Documentation

◆ get_item() [1/2]

template<typename T >
const T & Aleph::None< T >::get_item ( ) const
inlineoverridevirtual

◆ get_item() [2/2]

template<typename T >
T & Aleph::None< T >::get_item ( )
inlineoverridevirtual

Implements Aleph::Found_Item< T >.

Definition at line 89 of file ahFunctional.H.

References ah_invalid_argument, and Aleph::divide_and_conquer_partition_dp().

Referenced by TEST().

◆ is_found()

template<typename T >
bool Aleph::None< T >::is_found ( ) const
inlineoverridevirtualnoexcept

Implements Aleph::Found_Item< T >.

Definition at line 101 of file ahFunctional.H.

Referenced by TEST().


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