LeechCraft 0.6.70-17335-ge406ffdcaf
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::InstanceMonad< std::optional< T > > Struct Template Reference

#include "monad.h"

Inheritance diagram for LC::Util::InstanceMonad< std::optional< T > >:
Collaboration diagram for LC::Util::InstanceMonad< std::optional< T > >:

Public Types

template<typename F>
using BindResult_t = std::invoke_result_t<F, T>

Static Public Member Functions

template<typename F>
static BindResult_t< F > Bind (const std::optional< T > &value, const F &f)

Detailed Description

template<typename T>
struct LC::Util::InstanceMonad< std::optional< T > >

Definition at line 90 of file monad.h.

Member Typedef Documentation

◆ BindResult_t

template<typename T>
template<typename F>
using LC::Util::InstanceMonad< std::optional< T > >::BindResult_t = std::invoke_result_t<F, T>

Definition at line 93 of file monad.h.

Member Function Documentation

◆ Bind()

template<typename T>
template<typename F>
BindResult_t< F > LC::Util::InstanceMonad< std::optional< T > >::Bind ( const std::optional< T > & value,
const F & f )
inlinestatic

Definition at line 96 of file monad.h.


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17335.ge406ffdcaf-build/leechcraft-0.6.70-17335-ge406ffdcaf/src/util/sll/monad.h