Go to the source code of this file.
◆ KDBINDINGS_DEFINE_BINARY_OP
#define KDBINDINGS_DEFINE_BINARY_OP |
( |
|
OP | ) |
|
◆ KDBINDINGS_DEFINE_UNARY_OP
#define KDBINDINGS_DEFINE_UNARY_OP |
( |
|
OP | ) |
|
Value: template<typename... T> \
inline auto operator OP(Property<T...> &arg) noexcept(noexcept(OP arg.get())) \
->Private::Node<std::decay_t<decltype(OP arg.get())>> \
{ \
return Private::makeNode([](auto &&v) { return (OP v); }, arg); \
} \
\
template<typename T> \
inline auto operator OP(Private::Node<T> &&arg) noexcept(noexcept(OP arg.evaluate())) \
->Private::Node<std::decay_t<decltype(OP arg.evaluate())>> \
{ \
return Private::makeNode([](auto &&v) { return (OP v); }, std::move(arg)); \
}
Definition at line 21 of file node_operators.h.