Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tancaj authored Jan 2, 2024
1 parent b0e3430 commit a5f92fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ If a predicate fails, its error will be present in the model state object (retur
- `range_eq`
- `regex`
#### Custom predicates
If you need a custom predicates, you can easily implement one yourself. Predicates must be constexpr invocable objects that adhere two constraints:
If you need a custom predicate, you can easily implement one yourself. Predicates must be constexpr invocable objects that adhere two constraints:
- statisfy the `std::predicate` [concept](https://en.cppreference.com/w/cpp/concepts/predicate) with the supported types
- have a function named `get_error()` that returns a `constexpr std::string`
Expand Down

0 comments on commit a5f92fe

Please sign in to comment.