Merge pull request #6 from akrzemi1/patch-1

docs: sizeof(T...) -> sizeof...(T)
This commit is contained in:
Peter Dimov
2019-03-06 19:09:31 +02:00
committed by GitHub

View File

@ -496,7 +496,7 @@ template<size_t I, class... A>
[none]
* {blank}
+
Requires: :: `I < sizeof(T...)`.
Requires: :: `I < sizeof...(T)`.
Effects: ::
Destroys the currently contained value, then initializes a new contained
value as if using the expression `Ti(std::forward<A>(a)...)`.
@ -514,7 +514,7 @@ template<size_t I, class V, class... A>
[none]
* {blank}
+
Requires: :: `I < sizeof(T...)`.
Requires: :: `I < sizeof...(T)`.
Effects: ::
Destroys the currently contained value, then initializes a new contained
value as if using the expression `Ti(il, std::forward<A>(a)...)`.