CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
comparison.h
1
3
4#ifndef _aspose_system_comparison_h_
5#define _aspose_system_comparison_h_
6
7#include "system/multicast_delegate.h"
8
9namespace System {
91template <typename T>
92class Comparison : public System::MulticastDelegate<int(T, T)>
93{
94public:
96 using System::MulticastDelegate<int(T, T)>::MulticastDelegate;
97
102 bool operator()(T a, T b) { return MulticastDelegate<int(T, T)>::invoke(a, b) < 0; }
103};
104}
105
106#endif
Represents a pointer to the method that compares two objects of the same type. This type should be al...
Definition: comparison.h:93
bool operator()(T a, T b)
Invokes the invokable object pointed to by the current object.
Definition: comparison.h:102
Definition: db_command.h:9