LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
LC::Util::InstanceApplicative< std::optional< T > > Struct Template Reference

#include "applicative.h"

Classes

struct  GSLResult
 
struct  GSLResult< std::optional< V > >
 

Public Types

using Type_t = std::optional< T >
 

Static Public Member Functions

template<typename U >
static std::optional< U > Pure (const U &v)
 
template<typename AV >
static GSLResult_t< Type_t, AV > GSL (const Type_t &f, const AV &v)
 

Detailed Description

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

Definition at line 63 of file applicative.h.

Member Typedef Documentation

◆ Type_t

template<typename T >
using LC::Util::InstanceApplicative< std::optional< T > >::Type_t = std::optional<T>

Definition at line 65 of file applicative.h.

Member Function Documentation

◆ GSL()

template<typename T >
template<typename AV >
static GSLResult_t<Type_t, AV> LC::Util::InstanceApplicative< std::optional< T > >::GSL ( const Type_t f,
const AV &  v 
)
inlinestatic

Definition at line 83 of file applicative.h.

◆ Pure()

template<typename T >
template<typename U >
static std::optional<U> LC::Util::InstanceApplicative< std::optional< T > >::Pure ( const U &  v)
inlinestatic

Definition at line 77 of file applicative.h.


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