BloombergLP::bdldfp::operator>>

Right shift operators

Synopses

Declared in <bdldfp_decimal.h>

Return the bitwise right shift of the specified lhs by rhs bits.

bdldfp::Uint128
operator>>(
    Uint128 lhs,
    int rhs);
» more...

Return true if lhs is greater than rhs.

template<
    class CHARTYPE,
    class TRAITS>
bsl::basic_istream<CHARTYPE, TRAITS>&
operator>>(
    bsl::basic_istream<CHARTYPE, TRAITS>& stream,
    Decimal128& object);
» more...

Return true if lhs is greater than rhs.

template<
    class CHARTYPE,
    class TRAITS>
bsl::basic_istream<CHARTYPE, TRAITS>&
operator>>(
    bsl::basic_istream<CHARTYPE, TRAITS>& stream,
    Decimal32& object);
» more...

Return true if lhs is greater than rhs.

template<
    class CHARTYPE,
    class TRAITS>
bsl::basic_istream<CHARTYPE, TRAITS>&
operator>>(
    bsl::basic_istream<CHARTYPE, TRAITS>& stream,
    Decimal64& object);
» more...

Return Value

  • the bitwise right shift of lhs by rhs bits
  • reference providing modifiable access to stream

Parameters

NameDescription
lhsvalue to shift
rhsnumber of bits to shift
streamstream to read from or write to
objectobject to receive the parsed value