Public Member Functions | List of all members
clang::insights::MyOptional< T > Class Template Reference

#include "InsightsHelpers.h"

Inheritance diagram for clang::insights::MyOptional< T >:
Inheritance graph
[legend]
Collaboration diagram for clang::insights::MyOptional< T >:
Collaboration graph
[legend]

Public Member Functions

template<class Return >
requires (not std::is_pointer_v<T>)
MyOptional< Returnand_then (std::function< MyOptional< Return >(T)> func)
 
template<class Return >
requires (std::is_pointer_v<T>)
MyOptional< Returnand_then (std::function< MyOptional< Return >(std::remove_pointer_t< T > &)> func)
 
template<class Return >
MyOptional< Returnand_not (std::function< MyOptional< Return >(T)> func)
 

Detailed Description

template<class T>
class clang::insights::MyOptional< T >

Definition at line 400 of file InsightsHelpers.h.

Member Function Documentation

◆ and_not()

template<class T >
template<class Return >
MyOptional< Return > clang::insights::MyOptional< T >::and_not ( std::function< MyOptional< Return >(T)>  func)
inline

Definition at line 433 of file InsightsHelpers.h.

◆ and_then() [1/2]

template<class T >
template<class Return >
requires (std::is_pointer_v<T>)
MyOptional< Return > clang::insights::MyOptional< T >::and_then ( std::function< MyOptional< Return >(std::remove_pointer_t< T > &)>  func)
inline

Definition at line 418 of file InsightsHelpers.h.

◆ and_then() [2/2]

template<class T >
template<class Return >
requires (not std::is_pointer_v<T>)
MyOptional< Return > clang::insights::MyOptional< T >::and_then ( std::function< MyOptional< Return >(T)>  func)
inline

Definition at line 407 of file InsightsHelpers.h.


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