Redigera

Dela via


ContainerRandomAccessIterator<TValue>.less_than Method

Definition

Determines whether the current iterator is pointing to an element in the container that is before the element that a given iterator points to.

Overloads

less_than(ContainerRandomAccessIterator<TValue>)

Determines whether the current iterator is pointing to an element in the container that is before the element that the given iterator points to.

less_than(IRandomAccessIterator<TValue>)

Determines whether the current iterator is pointing to an element in the container that is before the element that the given iterator points to.

less_than(ContainerRandomAccessIterator<TValue>)

Determines whether the current iterator is pointing to an element in the container that is before the element that the given iterator points to.

public:
 bool less_than(Microsoft::VisualC::StlClr::Generic::ContainerRandomAccessIterator<TValue> ^ _Right);
public bool less_than (Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<TValue> _Right);
member this.less_than : Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<'Value> -> bool
Public Function less_than (_Right As ContainerRandomAccessIterator(Of TValue)) As Boolean

Parameters

_Right
ContainerRandomAccessIterator<TValue>

A valid iterator pointing to the same container as the current iterator.

Returns

true if the current iterator is pointing to an element that comes before the element that _Right is pointing to; otherwise, false.

Applies to

less_than(IRandomAccessIterator<TValue>)

Determines whether the current iterator is pointing to an element in the container that is before the element that the given iterator points to.

public:
 virtual bool less_than(Microsoft::VisualC::StlClr::Generic::IRandomAccessIterator<TValue> ^ _Right);
public virtual bool less_than (Microsoft.VisualC.StlClr.Generic.IRandomAccessIterator<TValue> _Right);
abstract member less_than : Microsoft.VisualC.StlClr.Generic.IRandomAccessIterator<'Value> -> bool
override this.less_than : Microsoft.VisualC.StlClr.Generic.IRandomAccessIterator<'Value> -> bool
Public Overridable Function less_than (_Right As IRandomAccessIterator(Of TValue)) As Boolean

Parameters

_Right
IRandomAccessIterator<TValue>

A valid iterator that points to the same container as the current iterator.

Returns

true if the current iterator is pointing to an element that comes before the element that _Right is pointing to; otherwise, false.

Implements

Applies to