Skip to content

Commit b49a74d

Browse files
committed
P2787R1 pmr::generator - Promise Types are not Values
1 parent 9ce105b commit b49a74d

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
@@ -15014,6 +15014,11 @@
1501415014
// \ref{coro.generator.class}, class template \tcode{generator}
1501515015
template<class Ref, class V = void, class Allocator = void>
1501615016
class generator;
15017+
15018+
namespace pmr {
15019+
template<class R, class V = void>
15020+
using generator = std::generator<R, V, polymorphic_allocator<>>;
15021+
}
1501715022
}
1501815023
\end{codeblock}
1501915024

0 commit comments

Comments
 (0)