|
MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
成员的完整列表,这些成员属于 variant< Types >,包括所有继承而来的类成员
| emplace(Args &&... args) noexcept(is_nothrow_constructible_v< variant_alternative_t< variant, Idx >, Args... >) | variant< Types > | inline |
| emplace(Args &&... args) noexcept(is_nothrow_constructible_v< T, Args... >) | variant< Types > | inline |
| get() | variant< Types > | inline |
| get() | variant< Types > | inline |
| get() const | variant< Types > | inline |
| get() const | variant< Types > | inline |
| get_if() noexcept | variant< Types > | inline |
| get_if() noexcept | variant< Types > | inline |
| get_if() const noexcept | variant< Types > | inline |
| get_if() const noexcept | variant< Types > | inline |
| holds_alternative() const noexcept | variant< Types > | inline |
| index() const noexcept | variant< Types > | inline |
| operator!=(const variant< Types... > &rhs) const noexcept(noexcept(!(*this==rhs))) | icomparable< variant< Types... > > | inline |
| operator<(const variant &rhs) const | variant< Types > | inline |
| icommon< variant< Types... > >::operator<(const variant< Types... > &rhs) const noexcept(noexcept(derived()< rhs)) | icomparable< variant< Types... > > | inline |
| operator<=(const variant< Types... > &rhs) const noexcept(noexcept(!(derived() > rhs))) | icomparable< variant< Types... > > | inline |
| operator=(const variant &x) | variant< Types > | inline |
| operator=(variant &&x) noexcept | variant< Types > | inline |
| operator==(const variant &rhs) const | variant< Types > | inline |
| icommon< variant< Types... > >::operator==(const variant< Types... > &rhs) const noexcept(noexcept(derived()==rhs)) | icomparable< variant< Types... > > | inline |
| operator>(const variant< Types... > &rhs) const noexcept(noexcept(rhs< derived())) | icomparable< variant< Types... > > | inline |
| operator>=(const variant< Types... > &rhs) const noexcept(noexcept(!(derived()< rhs))) | icomparable< variant< Types... > > | inline |
| swap(variant &x) noexcept | variant< Types > | inline |
| to_hash() const | variant< Types > | |
| variant() noexcept(is_nothrow_default_constructible_v< variant_alternative_t< variant, 0 > >) | variant< Types > | inline |
| variant(T &&value) noexcept(is_nothrow_move_constructible_v< T >) | variant< Types > | inlineexplicit |
| variant(const variant &x) | variant< Types > | inline |
| variant(variant &&x) noexcept | variant< Types > | inline |
| variant(inplace_construct_tag, Args &&... args) noexcept(is_nothrow_constructible_v< variant_alternative_t< variant, Idx >, Args... >) | variant< Types > | inlineexplicit |
| variant(inplace_construct_tag, std::initializer_list< U > ilist, Args &&... args) noexcept(is_nothrow_constructible_v< variant_alternative_t< variant, Idx >, std::initializer_list< U > &, Args... >) | variant< Types > | inlineexplicit |
| variant(Args &&... args) | variant< Types > | inline |
| visit(Lambda &&lambda) noexcept(conjunction_v< is_nothrow_invocable< Lambda, Types & >... >) | variant< Types > | inline |
| visit(Lambda &&lambda) const noexcept(conjunction_v< is_nothrow_invocable< Lambda, const Types & >... >) | variant< Types > | inline |
| ~variant() noexcept | variant< Types > | inline |