BloombergLP::bslstl::operator>>

Read a quoted string from the specified input stream into object.

Synopsis

Declared in <bslstl_iomanip.h>

template<
    class t_CHAR_TYPE,
    class t_CHAR_TRAITS,
    class t_ALLOC>
std::basic_istream<t_CHAR_TYPE, t_CHAR_TRAITS>&
operator>>(
    std::basic_istream<t_CHAR_TYPE, t_CHAR_TRAITS>& input,
    IoManip_QuotedStringFormatter<t_CHAR_TYPE, t_CHAR_TRAITS, t_ALLOC> const& object);

Description

Note that the object here is const because the QuotedStringFormatter is designed to be returned as a temporary object from bsl::quoted, serving as a proxy for the underlying string.

Return Value

reference to the input stream

Parameters

NameDescription
inputinput stream from which to extract a quoted string
objectformatter providing the destination string and quote style