BloombergLP::bdlc::operator<<

Left shift operators

Synopses

Declared in <bdlc_bitarray.h>

Write the value of the specified array to the specified output stream in a single-line format, and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice.

template<class TYPE>
std::ostream&
operator<<(
    std::ostream& stream,
    PackedIntArray<TYPE> const& array);
» more...

Return the value of the specified array left-shifted by the specified numBits positions, having filled the lower-index positions with zeros. The behavior is undefined unless numBits <= array.length(). Note that the length of the result equals the length of the original array, and that the highest-order numBits are discarded in the result.

bdlc::BitArray
operator<<(
    BitArray const& array,
    std::size_t numBits);
» more...

Format the bits in the specified rhs bit array to the specified output stream in a single-line format, and return a reference to stream.

std::ostream&
operator<<(
    std::ostream& stream,
    BitArray const& rhs);
» more...

Write the value of the specified array to the specified output stream in a single-line format, and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice.

template<class TYPE>
std::ostream&
operator<<(
    std::ostream& stream,
    CompactedArray<TYPE> const& array);
» more...

Write the value of the specified map to the specified output stream in a single-line format, and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice.

template<
    class KEY,
    class VALUE,
    class HASH,
    class EQUAL>
std::ostream&
operator<<(
    std::ostream& stream,
    FlatHashMap<KEY, VALUE, HASH, EQUAL> const& map);
» more...

Write the specified queue to the specified output stream and return a reference to the modifiable stream.

template<class T>
std::ostream&
operator<<(
    std::ostream& stream,
    Queue<T> const& queue);
» more...

Write the specified rhs index clerk to the specified output stream in some single-line (human-readable) format, and return a reference to the modifiable stream.

std::ostream&
operator<<(
    std::ostream& stream,
    IndexClerk const& rhs);
» more...

Write the value of the specified set to the specified output stream in a single-line format, and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice.

template<
    class KEY,
    class HASH,
    class EQUAL>
std::ostream&
operator<<(
    std::ostream& stream,
    FlatHashSet<KEY, HASH, EQUAL> const& set);
» more...