Table of Contents

Method Dec

Namespace
Zyl.VectorTraits.Impl.Util
Assembly
VectorTraits.dll

Dec<T>(ref T)

Decrement to the given managed pointer (向给定的托管指针递减). Mnemonic: --p.

public static ref T Dec<T>(ref T source)

Parameters

source T

The managed pointer to decrement to (要向其递减的托管指针).

Returns

T

A new managed pointer that reflects the decrement to the source pointer (一个新的托管指针,是源指针递减的结果).

Type Parameters

T

The elemental type of the managed pointer (托管指针的元素类型).

See Also
Subtract<T>(ref T, int)