@@ -16774,12 +16774,12 @@
16774
16774
\begin{codeblock}
16775
16775
namespace std {
16776
16776
// \ref{coro.generator.class}, class template \tcode{generator}
16777
- template<class Ref, class V = void, class Allocator = void>
16777
+ template<class Ref, class Val = void, class Allocator = void>
16778
16778
class generator;
16779
16779
16780
16780
namespace pmr {
16781
- template<class R , class V = void>
16782
- using generator = std::generator<R, V , polymorphic_allocator<>>;
16781
+ template<class Ref , class Val = void>
16782
+ using generator = std::generator<Ref, Val , polymorphic_allocator<>>;
16783
16783
}
16784
16784
}
16785
16785
\end{codeblock}
@@ -16788,11 +16788,11 @@
16788
16788
16789
16789
\begin{codeblock}
16790
16790
namespace std {
16791
- template<class Ref, class V = void, class Allocator = void>
16792
- class @\libglobal{generator}@ : public ranges::view_interface<generator<Ref, V , Allocator>> {
16791
+ template<class Ref, class Val = void, class Allocator = void>
16792
+ class @\libglobal{generator}@ : public ranges::view_interface<generator<Ref, Val , Allocator>> {
16793
16793
private:
16794
- using @\exposid{value}@ = conditional_t<is_void_v<V >, remove_cvref_t<Ref>, V >; // \expos
16795
- using @\exposid{reference}@ = conditional_t<is_void_v<V >, Ref&&, Ref>; // \expos
16794
+ using @\exposid{value}@ = conditional_t<is_void_v<Val >, remove_cvref_t<Ref>, Val >; // \expos
16795
+ using @\exposid{reference}@ = conditional_t<is_void_v<Val >, Ref&&, Ref>; // \expos
16796
16796
16797
16797
// \ref{coro.generator.iterator}, class \tcode{generator::\exposid{iterator}}
16798
16798
class @\exposidnc{iterator}@; // \expos
16978
16978
16979
16979
\begin{codeblock}
16980
16980
namespace std {
16981
- template<class Ref, class V , class Allocator>
16982
- class generator<Ref, V , Allocator>::promise_type {
16981
+ template<class Ref, class Val , class Allocator>
16982
+ class generator<Ref, Val , Allocator>::promise_type {
16983
16983
public:
16984
16984
generator get_return_object() noexcept;
16985
16985
17281
17281
17282
17282
\begin{codeblock}
17283
17283
namespace std {
17284
- template<class Ref, class V , class Allocator>
17285
- class generator<Ref, V , Allocator>::@\exposid{iterator}@ {
17284
+ template<class Ref, class Val , class Allocator>
17285
+ class generator<Ref, Val , Allocator>::@\exposid{iterator}@ {
17286
17286
public:
17287
17287
using value_type = @\exposid{value}@;
17288
17288
using difference_type = ptrdiff_t;
0 commit comments