Skip to content

Commit f4a55bf

Browse files
committed
Update documentation
1 parent 27ad2be commit f4a55bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* [Object's member](#objects-member)
1919
* [Property of object's member](#property-of-objects-member)
2020
* [Mixed](#mixed)
21+
* [Dynamically allocated validator](#dynamically-allocated-validator)
2122
* [Using validator for data validation](#using-validator-for-data-validation)
2223
* [Post-validation](#post-validation)
2324
* [validate() without report and without exception](#validate-without-report-and-without-exception)
@@ -96,6 +97,8 @@
9697

9798
[//]: # (TOC End)
9899

100+
101+
99102
----
100103

101104
# Introduction
@@ -321,7 +324,7 @@ auto v2=validator(
321324
```
322325
The examples above define validation condition "size of variable is not equal to 3 AND field1 of variable must be equal to "value1" OR size of field1 of variable is less than 3" where *field1* is a member of variable, *value* is a pseudo [property](#property) standing for member *field1* of variable, *size* is a [property](#property), *ne*, *eq* and *lt* are [operators](#operator), *3*, *10*, *"value1"* are [operands](#operand), *\^OR\^* and *\^AND\^* are [aggregations](#aggregation).
323326

324-
## Dynamically allocated validator
327+
### Dynamically allocated validator
325328

326329
Validators can be dynamically allocated on the memory heap. There are two forms of dynamically allocated validators:
327330
- raw pointer variables created with `new_validator()` helper;

0 commit comments

Comments
 (0)