forked from boostorg/variant2
Merge pull request #6 from akrzemi1/patch-1
docs: sizeof(T...) -> sizeof...(T)
This commit is contained in:
@ -496,7 +496,7 @@ template<size_t I, class... A>
|
|||||||
[none]
|
[none]
|
||||||
* {blank}
|
* {blank}
|
||||||
+
|
+
|
||||||
Requires: :: `I < sizeof(T...)`.
|
Requires: :: `I < sizeof...(T)`.
|
||||||
Effects: ::
|
Effects: ::
|
||||||
Destroys the currently contained value, then initializes a new contained
|
Destroys the currently contained value, then initializes a new contained
|
||||||
value as if using the expression `Ti(std::forward<A>(a)...)`.
|
value as if using the expression `Ti(std::forward<A>(a)...)`.
|
||||||
@ -514,7 +514,7 @@ template<size_t I, class V, class... A>
|
|||||||
[none]
|
[none]
|
||||||
* {blank}
|
* {blank}
|
||||||
+
|
+
|
||||||
Requires: :: `I < sizeof(T...)`.
|
Requires: :: `I < sizeof...(T)`.
|
||||||
Effects: ::
|
Effects: ::
|
||||||
Destroys the currently contained value, then initializes a new contained
|
Destroys the currently contained value, then initializes a new contained
|
||||||
value as if using the expression `Ti(il, std::forward<A>(a)...)`.
|
value as if using the expression `Ti(il, std::forward<A>(a)...)`.
|
||||||
|
Reference in New Issue
Block a user