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

Classes

union  BoundEntityType
 
class  function_ref_base
 

Typedefs

template<typename T >
using if_function = std::enable_if_t< std::is_function_v< T >, bool >
 
template<typename T >
using if_non_function = std::enable_if_t<!std::is_function_v< T >, bool >
 
template<typename From , typename To >
using copy_const_t = std::conditional_t< std::is_const_v< From >, std::add_const_t< To >, To >
 

Typedef Documentation

◆ copy_const_t

template<typename From , typename To >
using qxp::detail::copy_const_t = typedef std::conditional_t< std::is_const_v<From>, std::add_const_t<To>, To >

Definition at line 53 of file qxpfunctional.h.

◆ if_function

template<typename T >
using qxp::detail::if_function = typedef std::enable_if_t<std::is_function_v<T>, bool>

Definition at line 48 of file qxpfunctional.h.

◆ if_non_function

template<typename T >
using qxp::detail::if_non_function = typedef std::enable_if_t<!std::is_function_v<T>, bool>

Definition at line 50 of file qxpfunctional.h.