xtd 0.2.0
ilist.hpp File Reference
#include "icollection.hpp"
#include "../../size.hpp"
#include <limits>

Definition

Contains xtd::collections::generic::ilist <type_t> interface.

Go to the source code of this file.

Namespaces

namespace  xtd
 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
 
namespace  xtd::collections
 The xtd::collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries.
 
namespace  xtd::collections::generic
 The xtd::collections::generic namespace contains interfaces and classes that define generic collections, which allow users to create strongly typed collections that provide better type safety and performance than non-generic strongly typed collections.
 

Public Operators

Gets the element at the specified index. /

/

/ /

Parameters
indexThe zero-based index of the element to get. /
Remarks
This operator provides the ability to access a specific element in the collection by using the following syntax: my_collection[index]. virtual const type_t& operator [](xtd::size index) const = 0; / Sets the element at the specified index. /
Parameters
indexThe zero-based index of the element to set. /
Remarks
This operator provides the ability to access a specific element in the collection by using the following syntax: my_collection[index].
virtual type_t & xtd::collections::generic::operator[] (xtd::size index)=0