bsl::basic_stringbuf::imbue

Changes translations.

Synopsis

Declared in <bslstl_stringbuf.h>

virtual
void
imbue(locale const& __loc);

Description

Translations done during I/O which depend on the current locale are changed by this call. The standard adds, Between invocations of this function a class derived from streambuf can safely cache results of calls to locale functions and to members of facets so obtained.

NOTE

Base class version does nothing.

Parameters

NameDescription
__locA new locale.