7#include <xtd/collections/generic/list>
51 using base_type::operator [];
57 for (
auto item :
self_)
58 if (item.get().name() == name)
return item;
66 for (
auto item :
self_)
67 if (item.get().name() == name)
return item;
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search...
Definition list.hpp:80
typename ilist< xtd::ref< form > >::value_type value_type
Definition list.hpp:86
auto operator=(const list &other) -> list &=default
#define self_
The self_ expression is a reference value expression whose value is the reference of the implicit obj...
Definition self.hpp:20
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8