Skip to content

Commit 5376b4d

Browse files
committed
FIXUP: Fix errors caught during review
1 parent e3b35f7 commit 5376b4d

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

source/iterators.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@
401401
class Distance = ptrdiff_t>
402402
class istream_iterator;
403403
template<class T, class charT, class traits, class Distance>
404-
bool operator==(const istream_iterator<T,charT,traits,Distance>& x, // freestanding
404+
bool operator==(const istream_iterator<T,charT,traits,Distance>& x,
405405
const istream_iterator<T,charT,traits,Distance>& y);
406406

407407
template<class T, class charT = char, class traits = char_traits<charT>>
@@ -410,7 +410,7 @@
410410
template<class charT, class traits = char_traits<charT>>
411411
class istreambuf_iterator;
412412
template<class charT, class traits>
413-
bool operator==(const istreambuf_iterator<charT,traits>& a, // freestanding
413+
bool operator==(const istreambuf_iterator<charT,traits>& a,
414414
const istreambuf_iterator<charT,traits>& b);
415415

416416
template<class charT, class traits = char_traits<charT>>

source/lib-intro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@
920920
that includes \textit{freestanding} are freestanding entities.
921921
\begin{example}
922922
\begin{codeblock}
923-
#define NULL see below // freestanding
923+
#define NULL @\seebelow@ // freestanding
924924
\end{codeblock}
925925
\end{example}
926926

source/memory.tex

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
uninitialized_default_construct_n(NoThrowForwardIterator first, Size n); // freestanding
179179
template<class ExecutionPolicy, class NoThrowForwardIterator, class Size>
180180
NoThrowForwardIterator
181-
uninitialized_default_construct_n(ExecutionPolicy&& exec, // see \ref{algorithms.parallel.overloads};
181+
uninitialized_default_construct_n(ExecutionPolicy&& exec, // see \ref{algorithms.parallel.overloads}
182182
NoThrowForwardIterator first, Size n);
183183

184184
namespace ranges {
@@ -396,8 +396,6 @@
396396
template<class T1, class D1, class T2, class D2>
397397
constexpr bool operator==(const unique_ptr<T1, D1>& x, // freestanding
398398
const unique_ptr<T2, D2>& y);
399-
constexpr bool operator==(const unique_ptr<T1, D1>& x, // freestanding
400-
const unique_ptr<T2, D2>& y);
401399
template<class T1, class D1, class T2, class D2>
402400
bool operator<(const unique_ptr<T1, D1>& x, const unique_ptr<T2, D2>& y); // freestanding
403401
template<class T1, class D1, class T2, class D2>
@@ -437,8 +435,7 @@
437435
operator<=>(const unique_ptr<T, D>& x, nullptr_t); // freestanding
438436

439437
template<class E, class T, class Y, class D>
440-
basic_ostream<E, T>& operator<<(basic_ostream<E, T>& os, // freestanding
441-
const unique_ptr<Y, D>& p);
438+
basic_ostream<E, T>& operator<<(basic_ostream<E, T>& os, const unique_ptr<Y, D>& p);
442439

443440
// \ref{util.smartptr.weak.bad}, class \tcode{bad_weak_ptr}
444441
class bad_weak_ptr;

source/ranges.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@
475475
requires @\libconcept{view}@<V> && is_object_v<Pred>
476476
class chunk_by_view; // freestanding
477477

478-
namespace views {
478+
namespace views { // freestanding
479479
inline constexpr @\unspec@ chunk_by = @\unspec@; // freestanding
480480
}
481481
}

source/threads.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2284,8 +2284,8 @@
22842284
using atomic_intmax_t = atomic<intmax_t>; // freestanding
22852285
using atomic_uintmax_t = atomic<uintmax_t>; // freestanding
22862286

2287-
using atomic_signed_lock_free = @\seebelow@; // freestanding
2288-
using atomic_unsigned_lock_free = @\seebelow@; // freestanding
2287+
using atomic_signed_lock_free = @\seebelow@;
2288+
using atomic_unsigned_lock_free = @\seebelow@;
22892289

22902290
// \ref{atomics.flag}, flag type and operations
22912291
struct atomic_flag; // freestanding

0 commit comments

Comments
 (0)