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>.
Loading...
Searching...
No Matches
QTypeTraits::detail Namespace Reference

Classes

struct  expand_operator_equal_container
 
struct  expand_operator_equal_container< T, true >
 
struct  expand_operator_equal_tuple
 
struct  expand_operator_equal_tuple< std::optional< T > >
 
struct  expand_operator_equal_tuple< std::pair< T1, T2 > >
 
struct  expand_operator_equal_tuple< std::tuple< T... > >
 
struct  expand_operator_equal_tuple< std::variant< T... > >
 
struct  expand_operator_less_than_container
 
struct  expand_operator_less_than_container< T, true >
 
struct  expand_operator_less_than_tuple
 
struct  expand_operator_less_than_tuple< std::optional< T > >
 
struct  expand_operator_less_than_tuple< std::pair< T1, T2 > >
 
struct  expand_operator_less_than_tuple< std::tuple< T... > >
 
struct  expand_operator_less_than_tuple< std::variant< T... > >
 
struct  has_operator_equal
 
struct  has_operator_equal< T, std::void_t< decltype(bool(std::declval< const T & >()==std::declval< const T & >()))> >
 
struct  has_operator_less_than
 
struct  has_operator_less_than< T, std::void_t< decltype(bool(std::declval< const T & >()< std::declval< const T & >()))> >
 
struct  is_container
 
struct  is_container< T, std::void_t< typename T::value_type, std::is_convertible< decltype(std::declval< T >().begin() !=std::declval< T >().end()), bool > > >
 
struct  Promoted
 

Typedefs

template<typename T >
using expand_operator_equal = expand_operator_equal_container<T>
 
template<typename ... T>
using expand_operator_equal_recursive = std::conjunction<expand_operator_equal<T>...>
 
template<typename T >
using expand_operator_less_than = expand_operator_less_than_container<T>
 
template<typename ... T>
using expand_operator_less_than_recursive = std::conjunction<expand_operator_less_than<T>...>
 

Functions

template<typename T >
const T & const_reference ()
 
template<typename T >
T & reference ()
 

Typedef Documentation

◆ expand_operator_equal

Definition at line 236 of file qtypeinfo.h.

◆ expand_operator_equal_recursive

template<typename ... T>
using QTypeTraits::detail::expand_operator_equal_recursive = std::conjunction<expand_operator_equal<T>...>

Definition at line 252 of file qtypeinfo.h.

◆ expand_operator_less_than

Definition at line 278 of file qtypeinfo.h.

◆ expand_operator_less_than_recursive

template<typename ... T>
using QTypeTraits::detail::expand_operator_less_than_recursive = std::conjunction<expand_operator_less_than<T>...>

Definition at line 292 of file qtypeinfo.h.

Function Documentation

◆ const_reference()

template<typename T >
const T & QTypeTraits::detail::const_reference ( )

◆ reference()

template<typename T >
T & QTypeTraits::detail::reference ( )