BloombergLP::bdldfp::operator<<

Left shift operators

Synopses

Declared in <bdldfp_decimal.h>

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

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

Return true if lhs is less than rhs.

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

Return true if lhs is less than rhs.

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

Return true if lhs is less than rhs.

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

Return Value

  • the bitwise left 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 whose value is written