diff --git a/doc/html/variant2.html b/doc/html/variant2.html index 9019e21..94c8f3a 100644 --- a/doc/html/variant2.html +++ b/doc/html/variant2.html @@ -1103,6 +1103,10 @@ public: } // namespace boost +
+

In the descriptions that follow, let i be in the range [0, sizeof…​(T)), +and Ti be the i-th type in T…​.

+
Constructors
@@ -2129,6 +2133,11 @@ in T…​.

If v.index() is I, returns a reference to the object stored in the variant. Otherwise, throws bad_variant_access.

+
Remarks:
+
+

These functions do not participate in overload resolution +unless I < sizeof…​(T).

+
@@ -2202,15 +2211,16 @@ Otherwise, throws bad_variant_access.

-
Requires:
-
-

I < sizeof…​(U). Otherwise, the program is ill-formed.

-
Effects:

A pointer to the value stored in the variant, if v != nullptr && v->index() == I. Otherwise, nullptr.

+
Remarks:
+
+

These functions do not participate in overload resolution +unless I < sizeof…​(T).

+
@@ -2268,7 +2278,7 @@ the zero-based index of U in T…​.

Returns:
-

v.index() == w.index && get<I>(v) == get<I>(w), where I +

v.index() == w.index() && get<I>(v) == get<I>(w), where I is v.index().

@@ -2311,7 +2321,7 @@ is v.index().

Returns:
-

v.index() < w.index || (v.index() == w.index && get<I>(v) < get<I>(w)), +

v.index() < w.index() || (v.index() == w.index() && get<I>(v) < get<I>(w)), where I is v.index().

@@ -2354,7 +2364,7 @@ where I is v.index().

Returns:
-

v.index() < w.index || (v.index() == w.index && get<I>(v) <= get<I>(w)), +

v.index() < w.index() || (v.index() == w.index() && get<I>(v) <= get<I>(w)), where I is v.index().

@@ -2466,7 +2476,7 @@ the Boost Software License, Versi