-
Notifications
You must be signed in to change notification settings - Fork 781
Fix typos in [mem.poly.allocator.mem]/9.1 and /9.5 #1269
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
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ | |
T exchange(T& obj, U&& new_val); | ||
|
||
// \ref{forward}, forward/move | ||
template <class T> | ||
template <class T> | ||
constexpr T&& forward(remove_reference_t<T>& t) noexcept; | ||
template <class T> | ||
constexpr T&& forward(remove_reference_t<T>&& t) noexcept; | ||
|
@@ -2260,7 +2260,7 @@ | |
constexpr const tuple_element_t<I, tuple<Types...>>& | ||
get(const tuple<Types...>& t) noexcept; // Note B | ||
template <size_t I, class... Types> | ||
constexpr const tuple_element_t<I, tuple<Types...>>&& get(const tuple<Types...>&& t) noexcept; | ||
constexpr const tuple_element_t<I, tuple<Types...>>&& get(const tuple<Types...>&& t) noexcept; | ||
\end{itemdecl} | ||
|
||
\begin{itemdescr} | ||
|
@@ -5341,7 +5341,7 @@ | |
T any_cast(any& operand); | ||
template<class T> | ||
T any_cast(any&& operand); | ||
|
||
template<class T> | ||
const T* any_cast(const any* operand) noexcept; | ||
template<class T> | ||
|
@@ -10246,7 +10246,7 @@ | |
template<class Y> weak_ptr& operator=(const weak_ptr<Y>& r) noexcept; | ||
template<class Y> weak_ptr& operator=(const shared_ptr<Y>& r) noexcept; | ||
weak_ptr& operator=(weak_ptr&& r) noexcept; | ||
template<class Y> weak_ptr& operator=(weak_ptr<Y>&& r) noexcept; | ||
template<class Y> weak_ptr& operator=(weak_ptr<Y>&& r) noexcept; | ||
|
||
// \ref{util.smartptr.weak.mod}, modifiers | ||
void swap(weak_ptr& r) noexcept; | ||
|
@@ -11226,7 +11226,7 @@ | |
If \tcode{uses_allocator_v<T1,memory_resource*>} is \tcode{false} | ||
\\ | ||
and | ||
\tcode{is_constructible_v<T,Args1...>} is \tcode{true}, | ||
\tcode{is_constructible_v<T1,Args1...>} is \tcode{true}, | ||
\\ | ||
then \tcode{xprime} is \tcode{x}. | ||
\item | ||
|
@@ -11253,7 +11253,7 @@ | |
If \tcode{uses_allocator_v<T2,memory_resource*>} is \tcode{false} | ||
\\ | ||
and | ||
\tcode{is_constructible_v<T,Args2...>} is \tcode{true}, | ||
\tcode{is_constructible_v<T2,Args2...>} is \tcode{true}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. True non-whitespace change 2 of 2 |
||
\\ | ||
then \tcode{yprime} is \tcode{y}. | ||
\item | ||
|
@@ -12800,7 +12800,7 @@ | |
struct default_order; | ||
|
||
template <class T = void> | ||
using default_order_t = typename default_order<T>::type; | ||
using default_order_t = typename default_order<T>::type; | ||
|
||
// \ref{func.bind}, function object binders | ||
template <class T> constexpr bool is_bind_expression_v | ||
|
@@ -12884,7 +12884,7 @@ | |
\item \tcode{t1.*f} when \tcode{N == 1} and \tcode{f} is a pointer to | ||
data member of a class \tcode{T} | ||
and \tcode{is_base_of_v<T, decay_t<decltype(t1)>>} is \tcode{true}; | ||
|
||
\item \tcode{t1.get().*f} when \tcode{N == 1} and \tcode{f} is a pointer to | ||
data member of a class \tcode{T} | ||
and \tcode{decay_t<decltype(t1)>} is a specialization of \tcode{reference_wrapper}; | ||
|
@@ -15202,7 +15202,7 @@ | |
template <class, class R = void> struct is_callable; // not defined | ||
template <class Fn, class... ArgTypes, class R> | ||
struct is_callable<Fn(ArgTypes...), R>; | ||
|
||
template <class, class R = void> struct is_nothrow_callable; // not defined | ||
template <class Fn, class... ArgTypes, class R> | ||
struct is_nothrow_callable<Fn(ArgTypes...), R>; | ||
|
@@ -15270,7 +15270,7 @@ | |
// \ref{meta.trans.other}, other transformations | ||
template <size_t Len, | ||
size_t Align = @\textit{default-alignment}@> // see \ref{meta.trans.other} | ||
struct aligned_storage; | ||
struct aligned_storage; | ||
template <size_t Len, class... Types> struct aligned_union; | ||
template <class T> struct decay; | ||
template <bool, class T = void> struct enable_if; | ||
|
@@ -15296,7 +15296,7 @@ | |
template <class T> | ||
using underlying_type_t = typename underlying_type<T>::type; | ||
template <class T> | ||
using result_of_t = typename result_of<T>::type; | ||
using result_of_t = typename result_of<T>::type; | ||
template <class...> | ||
using void_t = void; | ||
|
||
|
@@ -16821,10 +16821,10 @@ | |
The specialization \tcode{conjunction<B1, ..., BN>} | ||
has a public and unambiguous base that is either | ||
\begin{itemize} | ||
\item | ||
\item | ||
the first type \tcode{Bi} in the list \tcode{true_type, B1, ..., BN} | ||
for which \tcode{bool(Bi::value)} is \tcode{false}, or | ||
\item | ||
\item | ||
if there is no such \tcode{Bi}, the last type in the list. | ||
\end{itemize} | ||
\begin{note} This means a specialization of \tcode{conjunction} | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True non-whitespace change 1 of 2.