welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
Loading...
Searching...
No Matches
welder::detail::synthesized_comparison< A, B, S > Struct Template Reference

#include <welder/bind_traits.hpp>

Static Public Member Functions

static bool call (const A &a, const B &b)
 Evaluate a OP b through C++'s rewriting rules.

Detailed Description

template<class A, class B, cmp_slot S>
struct welder::detail::synthesized_comparison< A, B, S >

Definition at line 359 of file bind_traits.hpp.

Member Function Documentation

◆ call()

template<class A, class B, cmp_slot S>
bool welder::detail::synthesized_comparison< A, B, S >::call ( const A & a,
const B & b )
inlinestatic

Evaluate a OP b through C++'s rewriting rules.

Parameters
athe left operand.
bthe right operand.
Returns
the comparison result.

Definition at line 363 of file bind_traits.hpp.

References welder::detail::gt, welder::detail::le, and welder::detail::lt.

Referenced by welder::rods::luabridge::rod::_try_cmp().


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