31 template<
typename type_t>
33 std::sort(first, last);
47 item(
const char* value) : value_(value) {}
48 item(
const item& value) =
default;
49 item(item&& value) =
default;
50 item& operator=(
const item& value) =
default;
51 item& operator=(item&& value) =
default;
52 virtual ~item() =
default;
53 bool operator==(
const item& value)
const {
return value_ == value.value_;}
54 bool operator!=(
const item& value)
const {
return !operator==(value);}
55 bool operator<(
const item& value)
const {
return value_ < value.value_;}
56 bool operator<=(
const item& value)
const {
return value_ <= value.value_;}
57 bool operator>(
const item& value)
const {
return value_ > value.value_;}
58 bool operator>=(
const item& value)
const {
return value_ >= value.value_;}
59 friend std::ostream& operator<<(std::ostream& os,
const item& value) {
return os << value.to_string();}
68 virtual std::any
tag()
const {
return tag_;}
99 static const size_t npos = std::numeric_limits<size_t>::max();
120 size_t selected_index_ = npos;
Represents an ARGB (alpha, red, green, blue) color.
Definition: color.h:39
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: event_args.h:18
Represents an event.
Definition: event.h:21
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
Contains xtd::forms::control control.
event< list_control, event_handler > selected_index_changed
Occurs when the selected_index property changes.
Definition: list_control.h:92
event< list_control, event_handler > selected_value_changed
Occurs when the selected_value property changes.
Definition: list_control.h:96
#define forms_export_
Define shared library export.
Definition: forms_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17