kblib 0.2.3
General utilities library for modern C++
kblib::fakestd::detail::not_fn_t< F > Struct Template Reference

#include <kblib/fakestd.h>

Public Member Functions

constexpr not_fn_t (F &&f)
 
constexpr not_fn_t (const not_fn_t &)=default
 
constexpr not_fn_t (not_fn_t &&)=default
 
template<class... Args>
constexpr auto operator() (Args &&... args) &-> decltype(not std::declval< invoke_result_t< std::decay_t< F > &, Args... > >())
 
template<class... Args>
constexpr auto operator() (Args &&... args) const &-> decltype(not std::declval< invoke_result_t< std::decay_t< F > const &, Args... > >())
 

Public Attributes

std::decay_t< F > fd
 

Detailed Description

template<typename F>
struct kblib::fakestd::detail::not_fn_t< F >

Definition at line 301 of file fakestd.h.

Constructor & Destructor Documentation

◆ not_fn_t() [1/3]

template<typename F >
constexpr kblib::fakestd::detail::not_fn_t< F >::not_fn_t ( F &&  f)
inlineexplicitconstexpr

Definition at line 302 of file fakestd.h.

◆ not_fn_t() [2/3]

template<typename F >
constexpr kblib::fakestd::detail::not_fn_t< F >::not_fn_t ( const not_fn_t< F > &  )
constexprdefault

◆ not_fn_t() [3/3]

template<typename F >
constexpr kblib::fakestd::detail::not_fn_t< F >::not_fn_t ( not_fn_t< F > &&  )
constexprdefault

Member Function Documentation

◆ operator()() [1/2]

template<typename F >
template<class... Args>
constexpr auto kblib::fakestd::detail::not_fn_t< F >::operator() ( Args &&...  args) & -> decltype( not std::declval<invoke_result_t<std::decay_t<F>&, Args...>>())
inlineconstexpr

Definition at line 308 of file fakestd.h.

◆ operator()() [2/2]

template<typename F >
template<class... Args>
constexpr auto kblib::fakestd::detail::not_fn_t< F >::operator() ( Args &&...  args) const & -> decltype( not std::declval< invoke_result_t<std::decay_t<F> const&, Args...>>())
inlineconstexpr

Definition at line 314 of file fakestd.h.

Member Data Documentation

◆ fd

template<typename F >
std::decay_t<F> kblib::fakestd::detail::not_fn_t< F >::fd

Definition at line 320 of file fakestd.h.


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