diff --git a/doc/variant2/reference.adoc b/doc/variant2/reference.adoc index 955d486..b033c0f 100644 --- a/doc/variant2/reference.adoc +++ b/doc/variant2/reference.adoc @@ -496,7 +496,7 @@ template [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)...)`. @@ -514,7 +514,7 @@ template [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)...)`.