6#include "../../size.hpp" 
   12  namespace collections {
 
   40      template<
typename type_t>
 
   56        inline static constexpr xtd::size npos = std::numeric_limits<xtd::size>::max();
 
  100        virtual const type_t& operator [](
xtd::
size index) const = 0;
 
  104        virtual type_t& operator [](
xtd::
size index) = 0;
 
Defines methods to manipulate generic collections.
Definition icollection.hpp:44
 
typename ienumerable< type_t >::const_iterator const_iterator
Represents the const iterator of xtd::collections::generic::ienumerable value type.
Definition icollection.hpp:52
 
typename ienumerable< type_t >::iterator iterator
Represents the iterator of xtd::collections::generic::ienumerable value type.
Definition icollection.hpp:50
 
Represents a collection of objects that can be individually accessed by index.
Definition ilist.hpp:41
 
static constexpr xtd::size npos
This is a special value equal to the maximum value representable by the type xtd::size.
Definition ilist.hpp:56
 
typename icollection< type_t >::iterator iterator
Represents the iterator of xtd::collections::generic::ienumerable value type.
Definition ilist.hpp:47
 
virtual void remove_at(xtd::size index)=0
Removes the xtd::collections::generic::ilist <type_t> item at the specified index.
 
virtual bool is_fixed_size() const noexcept=0
Gets a value indicating whether the xtd::collections::generic::ilist <type_t> has a fixed size.
 
typename icollection< type_t >::const_iterator const_iterator
Represents the const iterator of xtd::collections::generic::ienumerable value type.
Definition ilist.hpp:49
 
virtual xtd::size index_of(const type_t &item) const noexcept=0
Determines the index of a specific item in the xtd::collections::generic::ilist <type_t>.
 
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
 
@ insert
The INS (INSERT) key.
 
Contains xtd::collections::ienumerator alias.
 
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10