Readme.md
This commit is contained in:
parent
ee02c890bb
commit
4b70b352c2
@ -184,7 +184,7 @@ These conversions are:
|
||||
* float ->[int, string, list]
|
||||
* string -> [list],
|
||||
|
||||
The conversions 'to list' just create a list with a single entry.
|
||||
The conversions 'to-list' just create a list with a single entry.
|
||||
|
||||
Minimal working example:
|
||||
```cpp
|
||||
@ -210,7 +210,7 @@ If it was passed, for example, as a string, it would throw an exception.
|
||||
|
||||
---
|
||||
Note that you can also combine these two constraint-types by populating the struct yourself:
|
||||
```
|
||||
```cpp
|
||||
ParamConstraint pc;
|
||||
pc.key = "--my-key";
|
||||
pc.constrainType = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user