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…
.
T…
.
If v.index()
is I
, returns a reference to the object stored in
the variant. Otherwise, throws bad_variant_access
.
These functions do not participate in overload resolution
+unless I
< sizeof…(T)
.
bad_variant_access
.
I < sizeof…(U)
. Otherwise, the program is ill-formed.
A pointer to the value stored in the variant, if
v != nullptr && v->index() == I
. Otherwise, nullptr
.
These functions do not participate in overload resolution
+unless I
< sizeof…(T)
.
U
in T…
.
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()
.
v.index()
.
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()
.
I
is v.index()
.
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()
.