YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::FuncCore< Func > Class Template Reference

#include <func_core.hpp>

Inheritance diagram for yaclib::detail::FuncCore< Func >:
[legend]
Collaboration diagram for yaclib::detail::FuncCore< Func >:
[legend]

Classes

union  State
 

Protected Types

using Storage = std::decay_t< Func >
 
using Invoke = std::conditional_t< std::is_function_v< std::remove_reference_t< Func > >, Storage, Func >
 

Protected Member Functions

 FuncCore (Func &&f)
 

Protected Attributes

YACLIB_NO_UNIQUE_ADDRESS State _func
 

Detailed Description

template<typename Func>
class yaclib::detail::FuncCore< Func >

Definition at line 12 of file func_core.hpp.

Member Typedef Documentation

◆ Invoke

template<typename Func >
using yaclib::detail::FuncCore< Func >::Invoke = std::conditional_t<std::is_function_v<std::remove_reference_t<Func> >, Storage, Func>
protected

Definition at line 15 of file func_core.hpp.

◆ Storage

template<typename Func >
using yaclib::detail::FuncCore< Func >::Storage = std::decay_t<Func>
protected

Definition at line 14 of file func_core.hpp.

Constructor & Destructor Documentation

◆ FuncCore()

template<typename Func >
yaclib::detail::FuncCore< Func >::FuncCore ( Func &&  f)
inlineexplicitprotected

Member Data Documentation

◆ _func


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