Sen API
Sen Libraries
Loading...
Searching...
No Matches
sen::std_util::detail Namespace Reference

Classes

class  MoveOnlyFunctionImpl< ResultType(ArgTypes...) GENERATE_WITH_CV GENERATE_WITH_REF NOEXCEPT_SPECIFIER >
struct  IsInPlaceType
struct  IsInPlaceType< std::in_place_type_t< T > >
class  MoveOnlyFunctionImpl
class  MoveOnlyFunctionBase

Functions

template<class R, class F, class... Args, std::enable_if_t< std::is_invocable_r_v< R, F, Args... >, bool > = true>
constexpr R invoke_r (F &&f, Args &&... args) noexcept(std::is_nothrow_invocable_r_v< R, F, Args... >)

Variables

template<typename FunctionType>
constexpr bool is_move_only_function_v = false
template<typename FunctionType>
constexpr bool is_move_only_function_v< MoveOnlyFunctionImpl< FunctionType > > = true

Class Documentation

◆ sen::std_util::detail::MoveOnlyFunctionImpl

class sen::std_util::detail::MoveOnlyFunctionImpl
template<typename... Signature>
class sen::std_util::detail::MoveOnlyFunctionImpl< Signature >

Function Documentation

◆ invoke_r()

template<class R, class F, class... Args, std::enable_if_t< std::is_invocable_r_v< R, F, Args... >, bool > = true>
R sen::std_util::detail::invoke_r ( F && f,
Args &&... args )
constexprnoexcept

Variable Documentation

◆ is_move_only_function_v

template<typename FunctionType>
bool sen::std_util::detail::is_move_only_function_v = false
inlineconstexpr

◆ is_move_only_function_v< MoveOnlyFunctionImpl< FunctionType > >

template<typename FunctionType>
bool sen::std_util::detail::is_move_only_function_v< MoveOnlyFunctionImpl< FunctionType > > = true
constexpr