KWin
Loading...
Searching...
No Matches
Public Types | Static Public Attributes | List of all members
KWin::Xcb::tupleCompare< T1, T2, I > Struct Template Reference

Template to compare the arguments of two std::tuple. More...

#include <xcbutils.h>

Public Types

typedef std::tuple_element< I, T1 >::type tuple1Type
 
typedef std::tuple_element< I, T2 >::type tuple2Type
 

Static Public Attributes

static constexpr bool value = std::is_same<tuple1Type, tuple2Type>::value && tupleCompare<T1, T2, I - 1>::value
 

Detailed Description

template<typename T1, typename T2, std::size_t I>
struct KWin::Xcb::tupleCompare< T1, T2, I >

Template to compare the arguments of two std::tuple.

Definition at line 384 of file xcbutils.h.

Member Typedef Documentation

◆ tuple1Type

template<typename T1 , typename T2 , std::size_t I>
typedef std::tuple_element<I,T1>::type KWin::Xcb::tupleCompare< T1, T2, I >::tuple1Type

Definition at line 386 of file xcbutils.h.

◆ tuple2Type

template<typename T1 , typename T2 , std::size_t I>
typedef std::tuple_element<I,T2>::type KWin::Xcb::tupleCompare< T1, T2, I >::tuple2Type

Definition at line 387 of file xcbutils.h.

Member Data Documentation

◆ value

template<typename T1 , typename T2 , std::size_t I>
constexpr bool KWin::Xcb::tupleCompare< T1, T2, I >::value = std::is_same<tuple1Type, tuple2Type>::value && tupleCompare<T1, T2, I - 1>::value
staticconstexpr

true if both tuple have the same arguments, false otherwise.

Definition at line 391 of file xcbutils.h.


The documentation for this struct was generated from the following file: