System::Collections::Generic::SortedSet class

SortedSet class

Forward declaration of SortedSet class.

template<typename T>class SortedSet : public System::Collections::Generic::BaseSet<T, std::set<T, ComparerAdapter<T>, System::Details::CollectionHelpers::ContainerPointerMode<T>::allocator_type>>

Methods

MethodDescription
SortedSet()RTTI information.
SortedSet(int)Creates empty set with specified capacity.
SortedSet(const SharedPtr<IComparer<T>>&)Creates empty set that uses the specified equality comparer.
SortedSet(const SharedPtr<IEnumerable<T>>&)Creates SortedSet based on enumerable values.

Typedefs

TypedefDescription
ThisTypeSelf type.
BaseTypeVase type.
ThisPtrPointer type.

Remarks

Implementation a set of ordered objects. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

See Also