KDBindings API Documentation  1.0.95
Namespaces | Macros
utils.h File Reference
#include <functional>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Namespaces

 KDBindings
 The main namespace of the KDBindings library.
 
 std
 

Macros

#define KDBINDINGS_DEFINE_MEMBER_GET_ARITY(MODIFIERS)
 

Macro Definition Documentation

◆ KDBINDINGS_DEFINE_MEMBER_GET_ARITY

#define KDBINDINGS_DEFINE_MEMBER_GET_ARITY (   MODIFIERS)
Value:
template<typename Return, typename Class, typename... Arguments> \
constexpr size_t get_arity(::KDBindings::Private::TypeMarker<Return (Class::*)(Arguments...) MODIFIERS>) \
{ \
return sizeof...(Arguments) + 1; \
}

Definition at line 78 of file utils.h.


© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDBindings
Reactive programming & data binding in C++
https://github.com/KDAB/KDBindings/
Generated by doxygen 1.9.1