#include <algorithms.h>
详细描述
Match
specialization for index position type.
构造函数 & 析构函数文档编制
◆
Match()
[1/5]
Constructs a match that is NO_MATCH.
◆
Match()
[2/5]
Copy constructor.
◆
Match()
[3/5]
Implicit construction from NO_MATCH.
◆
Match()
[4/5]
Construction from a index position with a default length of 1.
◆
Match()
[5/5]
Construction from a index position and length.
成员函数文档编制
◆
operator=()
[1/2]
Copy assignment.
◆
operator=()
[2/2]
Assignment of NO_MATCH.
◆
GetPosition()
Int
GetPosition
|
(
|
|
)
|
const
|
Returns the first position of the match.
◆
operator Int()
Returns the first position of the match.
◆
GetLength()
Implicit to index type Int. Equivalent to
GetPosition()
.
◆
IsFound()
Returns, if this match represents a valid position, or if it is a NO_MATCH.
◆
operator Bool()
Conversion to Bool in conditional expressions (i.e. if statements). Equivalent to
IsFound()
.
Member Data Documentation
◆
_index