Skip to content

Commit fd4c769

Browse files
jensmaurertkoeppe
authored andcommitted
P2787R1 pmr::generator - Promise Types are not Values
Fixes NB US 116 (C++23 CD).
1 parent 227f7c4 commit fd4c769

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/ranges.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15737,6 +15737,11 @@
1573715737
// \ref{coro.generator.class}, class template \tcode{generator}
1573815738
template<class Ref, class V = void, class Allocator = void>
1573915739
class generator;
15740+
15741+
namespace pmr {
15742+
template<class R, class V = void>
15743+
using generator = std::generator<R, V, polymorphic_allocator<>>;
15744+
}
1574015745
}
1574115746
\end{codeblock}
1574215747

0 commit comments

Comments
 (0)