Skip to content

Commit 09a1066

Browse files
committed
[iterator.synopsis] Add 'freestanding' markers per P1642R11
1 parent 2090fff commit 09a1066

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/iterators.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -335,12 +335,12 @@
335335

336336
// \ref{const.iterators}, constant iterators and sentinels
337337
template<@\libconcept{indirectly_readable}@ I>
338-
using iter_const_reference_t = @\seebelow@;
338+
using iter_const_reference_t = @\seebelow@; // freestanding
339339
template<class Iterator>
340340
concept @\exposconcept{constant-iterator}@ = @\seebelow@; // \expos
341341

342342
template<class Iterator>
343-
class basic_const_iterator;
343+
class basic_const_iterator; // freestanding
344344

345345
template<class T, @\libconcept{common_with}@<T> U>
346346
struct common_type<basic_const_iterator<T>, U> {
@@ -356,16 +356,16 @@
356356
};
357357

358358
template<@\libconcept{input_iterator}@ I>
359-
using const_iterator = @\seebelow@;
359+
using const_iterator = @\seebelow@; // freestanding
360360

361361
template<class S>
362-
using const_sentinel = @\seebelow@;
362+
using const_sentinel = @\seebelow@; // freestanding
363363

364364
template<@\libconcept{input_iterator}@ I>
365-
constexpr const_iterator<I> make_const_iterator(I it) { return it; }
365+
constexpr const_iterator<I> make_const_iterator(I it) { return it; } // freestanding
366366

367367
template<class S>
368-
constexpr const_sentinel<S> make_const_sentinel(S s) { return s; }
368+
constexpr const_sentinel<S> make_const_sentinel(S s) { return s; } // freestanding
369369

370370
// \ref{move.iterators}, move iterators and sentinels
371371
template<class Iterator> class move_iterator;

0 commit comments

Comments
 (0)