BloombergLP::bdlde::Utf8CheckingInStreamBufWrapper::imbue

Propagate the specified locale to the held streambuf, if any.

Synopsis

Declared in <bdlde_utf8checkinginstreambufwrapper.h>

virtual
void
imbue(std::locale const& locale) override;

Description

If sb is the name of the streambuf held by this object, set sb to the specified locale as though sb.pubimbue(locale) had been called. If this object does not hold a streambuf, this method has no effect. Note that this function is forwarded to by the public method pubimbue in the base class.

Parameters

NameDescription
localelocale to imbue on the held streambuf