Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qxpfunctional.h>
Public Member Functions | |
template<class F , std::enable_if_t< std::conjunction_v< std::is_function< F >, is_invocable_using< F > >, bool > = true> | |
Q_IMPLICIT | function_ref_base (F *f) noexcept |
template<class F , std::enable_if_t< std::conjunction_v< std::negation< std::is_same< q20::remove_cvref_t< F >, function_ref_base > >, std::negation< std::is_member_pointer< std::remove_reference_t< F > > >, is_invocable_using< copy_const_t< Const, std::remove_reference_t< F > > & > >, bool > = true> | |
Q_IMPLICIT constexpr | function_ref_base (F &&f) noexcept |
Protected Types | |
using | BoundEntityType = detail::BoundEntityType<Const> |
template<typename... Ts> | |
using | is_invocable_using |
using | ThunkPtr = R(*)(BoundEntityType, ArgTypes&&...) noexcept(noex) |
Protected Member Functions | |
~function_ref_base ()=default | |
template<class T , std::enable_if_t< std::negation_v< std::disjunction< std::is_same< T, function_ref_base >, std::is_pointer< T > > >, bool > = true> | |
function_ref_base & | operator= (T)=delete |
R | operator() (ArgTypes... args) const noexcept(noex) |
Protected Attributes | |
BoundEntityType | m_bound_entity |
ThunkPtr | m_thunk_ptr |
Definition at line 72 of file qxpfunctional.h.
|
protected |
Definition at line 77 of file qxpfunctional.h.
|
protected |
Definition at line 80 of file qxpfunctional.h.
|
protected |
Definition at line 86 of file qxpfunctional.h.
|
protecteddefault |
|
inlinenoexcept |
Definition at line 99 of file qxpfunctional.h.
References args.
|
inlineconstexprnoexcept |
Definition at line 132 of file qxpfunctional.h.
References args.
|
inlineprotectednoexcept |
Definition at line 154 of file qxpfunctional.h.
References args, qxp::detail::function_ref_base< noex, Const, R, ArgTypes >::m_bound_entity, and qxp::detail::function_ref_base< noex, Const, R, ArgTypes >::m_thunk_ptr.
|
protecteddelete |
|
protected |
Definition at line 88 of file qxpfunctional.h.
Referenced by qxp::detail::function_ref_base< noex, Const, R, ArgTypes >::operator()().
|
protected |
Definition at line 89 of file qxpfunctional.h.
Referenced by qxp::detail::function_ref_base< noex, Const, R, ArgTypes >::operator()().