BloombergLP::bslstl::Variant_DataImp::value

value overloads

Synopses

Declared in <bslstl_variant.h>

Return a reference to the stored t_TYPE object.

constexpr
t_TYPE&
value() &;
» more...

Return an rvalue reference to the stored t_TYPE object.

constexpr
t_TYPE&&
value() &&;
» more...

Return a const reference to the stored t_TYPE object.

constexpr
t_TYPE const&
value() const &;
» more...

Return an rvalue reference to the stored t_TYPE object.

constexpr
t_TYPE const&&
value() const &&;
» more...

Return Value

  • reference to the stored t_TYPE object
  • rvalue reference to the stored t_TYPE object
  • const reference to the stored t_TYPE object
  • const rvalue reference to the stored t_TYPE object