Skip to content

Commit e41ec3c

Browse files
committed
fixing meta doc
1 parent 0f77d06 commit e41ec3c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

doxygen/contributor_help_pages/require_meta.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ are named `is_{condition}` and the struct contains a `value` that is
117117

118118
We provide `requires<>` type traits based on the boolean
119119
`is_{condition}` type traits. When types satisfy the condition, the
120-
`requires<>::type` will evaluate to `void`. When the types do not
121-
satisfy the condition, `requires<>::type` is an invalid subsitution
120+
`requires<>` will evaluate to `void`. When the types do not
121+
satisfy the condition, `requires<>` is an invalid subsitution
122122
and is not used. (See @ref requires_impl for more details.)
123123

124124
Note: every possible requires<> type trait is not implemented in the
@@ -135,8 +135,8 @@ traits name is put in its place. For example, for `is_var`, we can
135135
substitute `var` for `*`.
136136

137137
1. `require_*_t`: A template parameter `T` must satisfy the `is_*`
138-
type trait. This means `require_var_t<stan::math::var>::value` is
139-
`void`, but `require_var_t<double>::value` is an invalid subsitution.
138+
type trait. This means `require_var_t<stan::math::var>` is
139+
`void`, but `require_var_t<double>` is an invalid subsitution.
140140

141141
2. `require_not_*_t`: A template parameter `T` must not satisfy the
142142
`is_*` type trait.

0 commit comments

Comments
 (0)