Qx v0.7
Qt Extensions Library
Loading...
Searching...
No Matches
qx-typetraits.h File Reference

The qx-typetraits header file provides a library of general purpose type-traits as an extension of the standard type-traits library.

#include <type_traits>
Include dependency graph for qx-typetraits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Qx::is_specialization_of< A, B >
 Checks whether A is a specialization of B. More...
 
struct  Qx::unwrap< T >
 Provides the inner type of T if T wraps or contains another type; otherwise, provides T itself. More...
 

Namespaces

namespace  Qx
 The Qx namespace is the main namespace through which all non-global functionality of the Qx library is accessed.
 

Typedefs

template<typename T>
using Qx::target_type = std::remove_pointer_t<std::remove_reference_t<T>>
 
template<typename T>
using Qx::unwrap_t = typename unwrap<T>::type
 See unwrap.
 

Variables

template<class... T>
constexpr bool Qx::always_false = false
 
template<typename A, template< typename... > class B>
constexpr bool Qx::is_specialization_of_v = is_specialization_of<A, B>::value
 See is_specialization_of.