Skip to content

[lib] Remove space between requires and parameter list #4719

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/concepts.tex
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@
\begin{itemdecl}
template<class T>
concept @\defexposconcept{boolean-testable}@ = // \expos
@\exposconcept{boolean-testable-impl}@<T> && requires (T&& t) {
@\exposconcept{boolean-testable-impl}@<T> && requires(T&& t) {
{ !std::forward<T>(t) } -> @\exposconcept{boolean-testable-impl}@;
};
\end{itemdecl}
Expand Down
4 changes: 2 additions & 2 deletions source/iterators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3287,7 +3287,7 @@
\begin{itemdecl}
constexpr pointer operator->() const
requires (is_pointer_v<Iterator> ||
requires (const Iterator i) { i.operator->(); });
requires(const Iterator i) { i.operator->(); });
\end{itemdecl}

\begin{itemdescr}
Expand Down Expand Up @@ -5002,7 +5002,7 @@
return tmp;
\end{codeblock}
Otherwise, if
\tcode{requires (I\& i) \{ \{ *i++ \} -> \exposconceptnc{can-reference}; \}}
\tcode{requires(I\& i) \{ \{ *i++ \} -> \exposconceptnc{can-reference}; \}}
is \tcode{true} or
\tcode{\libconceptx{constructible_\newline{}from}{constructible_from}<iter_value_t<I>, iter_reference_t<I>>}
is \tcode{false},
Expand Down