xtd 0.2.0
control_ref_less.h
Go to the documentation of this file.
1 #pragma once
5 #include "control_ref.h"
6 #include <xtd/object>
7 
9 namespace xtd {
11  namespace forms {
20  struct control_ref_less : public object {
22 
28  bool operator()(const control_ref& value1, const control_ref& value2) const {
29  return &value1.get() < &value2.get();
30  }
32  };
33  }
34 }
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::forms::control_ref typedef.
bool operator()(const control_ref &value1, const control_ref &value2) const
Compare two specified control_ref.
Definition: control_ref_less.h:28
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32
Represents less comparator for control_ref.
Definition: control_ref_less.h:20
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
std::reference_wrapper< control > control_ref
Represents a control reference.
Definition: control_ref.h:23