Compare commits

...

2 Commits

Author SHA1 Message Date
Peter Dimov
1e986047ae Merge pull request #6 from akrzemi1/patch-1
docs: sizeof(T...) -> sizeof...(T)
2019-03-06 19:09:31 +02:00
Andrzej Krzemieński
107a43d5a0 docs: sizeof(T...) -> sizeof...(T) 2019-03-06 16:07:56 +01:00

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)...)`.