Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Corrected grammar in documentation for concepts
Browse files Browse the repository at this point in the history
  • Loading branch information
trueqbit committed Jan 16, 2023
1 parent 848e54d commit 5ab4931
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dev/xdestroy_handling.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ namespace sqlite_orm {
namespace internal {
#ifdef SQLITE_ORM_CONCEPTS_SUPPORTED
/**
* Constraints a deleter to be state-less.
* Constrains a deleter to be state-less.
*/
template<typename D>
concept stateless_deleter = std::is_empty_v<D> && std::is_default_constructible_v<D>;

/**
* Constraints a deleter to be an integral function constant.
* Constrains a deleter to be an integral function constant.
*/
template<typename D>
concept integral_fp_c = requires {
Expand All @@ -35,7 +35,7 @@ namespace sqlite_orm {
};

/**
* Constraints a deleter to be or to yield a function pointer.
* Constrains a deleter to be or to yield a function pointer.
*/
template<typename D>
concept yields_fp = requires(D d) {
Expand Down
6 changes: 3 additions & 3 deletions include/sqlite_orm/sqlite_orm.h
Original file line number Diff line number Diff line change
Expand Up @@ -7494,13 +7494,13 @@ namespace sqlite_orm {
namespace internal {
#ifdef SQLITE_ORM_CONCEPTS_SUPPORTED
/**
* Constraints a deleter to be state-less.
* Constrains a deleter to be state-less.
*/
template<typename D>
concept stateless_deleter = std::is_empty_v<D> && std::is_default_constructible_v<D>;

/**
* Constraints a deleter to be an integral function constant.
* Constrains a deleter to be an integral function constant.
*/
template<typename D>
concept integral_fp_c = requires {
Expand All @@ -7510,7 +7510,7 @@ namespace sqlite_orm {
};

/**
* Constraints a deleter to be or to yield a function pointer.
* Constrains a deleter to be or to yield a function pointer.
*/
template<typename D>
concept yields_fp = requires(D d) {
Expand Down

0 comments on commit 5ab4931

Please sign in to comment.