Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Types | Public Member Functions | Data Fields
ext::internal::bound< F, Args > Struct Template Reference

#include <dry-comparisons.hpp>

Public Types

using RT = std::invoke_result_t< F, Args... >
 

Public Member Functions

template<typename F_ , typename ... As>
constexpr bound (F_ &&f_, As &&... as)
 
constexpr operator RT () const noexcept(std::is_nothrow_invocable_v< const F &, const Args &... >)
 

Data Fields

f
 
std::tuple< Args... > args
 

Member Typedef Documentation

◆ RT

template<typename F , typename ... Args>
using ext::internal::bound< F, Args >::RT = std::invoke_result_t<F, Args...>

Constructor & Destructor Documentation

◆ bound()

template<typename F , typename ... Args>
template<typename F_ , typename ... As>
constexpr ext::internal::bound< F, Args >::bound ( F_ &&  f_,
As &&...  as 
)
inlineconstexpr

Member Function Documentation

◆ operator RT()

template<typename F , typename ... Args>
constexpr ext::internal::bound< F, Args >::operator RT ( ) const
inlineconstexprnoexcept

Field Documentation

◆ args

template<typename F , typename ... Args>
std::tuple<Args...> ext::internal::bound< F, Args >::args

◆ f

template<typename F , typename ... Args>
F ext::internal::bound< F, Args >::f

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