pair class : Release() method

Description

Returns to the uninitialized state.

Syntax

pairInstance.Release()

Arguments

None.

Return value

None.

Sample code

1:

pair newPair = new pair(10, true);

2:

bool init = newPair.Fitted; // true

3:

newPair.Release();

4:

init = newPair.Fitted; // false

Notes

The caller become an empty pair after calling the method. In other words, Fitted getter will return false.

Links for reference

None.

Copyright © Rice All rights reserved.