Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qxp Namespace Reference

Namespaces

namespace  _detail
 
namespace  detail
 

Classes

class  function_ref
 
struct  nonesuch
 

Typedefs

template<template< typename... > class Op, typename... Args>
using is_detected = typename _detail::detector< qxp::nonesuch, void, Op, Args... >::value_t
 

Functions

 QT_SPECIALIZE_FUNCTION_REF (, false)
 
 QT_SPECIALIZE_FUNCTION_REF (const, false)
 
 QT_SPECIALIZE_FUNCTION_REF (, true)
 
 QT_SPECIALIZE_FUNCTION_REF (const, true)
 
template<class F , std::enable_if_t< std::is_function_v< F >, bool > = true>
 function_ref (F *) -> function_ref< F >
 

Variables

template<template< typename... > class Op, typename... Args>
constexpr bool is_detected_v = is_detected<Op, Args...>::value
 

Typedef Documentation

◆ is_detected

template<template< typename... > class Op, typename... Args>
using qxp::is_detected = typedef typename _detail::detector<qxp::nonesuch, void, Op, Args...>::value_t

Definition at line 53 of file qxptype_traits.h.

Function Documentation

◆ function_ref()

template<class F , std::enable_if_t< std::is_function_v< F >, bool > = true>
qxp::function_ref ( F *  ) -> function_ref< F >

◆ QT_SPECIALIZE_FUNCTION_REF() [1/4]

qxp::QT_SPECIALIZE_FUNCTION_REF ( false  )

◆ QT_SPECIALIZE_FUNCTION_REF() [2/4]

qxp::QT_SPECIALIZE_FUNCTION_REF ( true  )

◆ QT_SPECIALIZE_FUNCTION_REF() [3/4]

qxp::QT_SPECIALIZE_FUNCTION_REF ( const  ,
false   
)

◆ QT_SPECIALIZE_FUNCTION_REF() [4/4]

qxp::QT_SPECIALIZE_FUNCTION_REF ( const  ,
true   
)

Variable Documentation

◆ is_detected_v

template<template< typename... > class Op, typename... Args>
constexpr bool qxp::is_detected_v = is_detected<Op, Args...>::value
inlineconstexpr

Definition at line 56 of file qxptype_traits.h.