System::Collections::Generic::Details

Classes

ClassDescription
EnumerableAdapterEnumerable used by the IEnumerable.Cast() and IEnumerable.OfType() extension methods.
EnumerableSelectAdapterEnumerable used by the IEnumerable.Select() extension method.
EnumerableSelectIndexAdapter
EnumerableSelectManyAdapter
EnumeratorCastAdapterEnumerator used by the IEnumerable.Cast() extension method.
EnumeratorOfTypeAdapterEnumerator used by the IEnumerable.OfType() extension method.
EnumeratorSelectAdapterEnumerator used by the IEnumerable.Select() extension method.
EnumeratorSelectIndexAdapter
EnumeratorSelectManyAdapter
GroupEnumerable
Grouping

Structures

StructDescription
ComparerTypeCompares elements using ’less’ semantics.
ComparerType< SharedPtr< T > >Compares elements using ’less’ semantics.
has_method_comparetoChecks whether CompareTo method exists in specified type. If so, inherits std::true_type, otherwise inherits std::false_type. Can be used in std::enable_if.
has_method_compareto_shared_ptrChecks whether CompareTo(SharedPtr) method exists in specified type. If so, inherits std::true_type, otherwise inherits std::false_type. Can be used in std::enable_if.
IsEqualExistChecks if type provides operator ==.

Functions

FunctionDescription
bool IsOutOfBounds(int, const Container&)Checks if index is out of container bounds, excluding container size.
bool IsOutOfBounds(std::int64_t, const Container&)Checks if index is out of container bounds, excluding container size.
bool IsOutOfSize(int, const Container&)Checks if index is out of container bounds, including container size.
bool IsOutOfSize(std::int64_t, const Container&)Checks if index is out of container bounds, including container size.
std::true_type HasOperatorEqualsHelper(T *, T *)Helper function to determine whether specific class has operator ==.
std::false_type HasOperatorEqualsHelper(void *, void *)Helper function to determine whether specific class has operator ==.
T TryGetFirst(IEnumerable<T>&, bool&)Tries to get the first element of the collection.
T TryGetFirst(IEnumerable<T>&, const Func<T, bool>&, bool&)Tries to get the first element of the collection, which satisfies to the predicate function.
T TryGetLast(IEnumerable<T>&, bool&)Tries to get the last element of the collection.

Typedefs

TypedefDescription
has_operator_equalsDummy typedef to check for operator == existance.